Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type Resource
- func (dars *Resource) Attributes() dnsARecordSetAttributes
- func (dars *Resource) Configuration() interface{}
- func (dars *Resource) DependOn() terra.Reference
- func (dars *Resource) Dependencies() terra.Dependencies
- func (dars *Resource) ImportState(state io.Reader) error
- func (dars *Resource) LifecycleManagement() *terra.Lifecycle
- func (dars *Resource) LocalName() string
- func (dars *Resource) State() (*dnsARecordSetState, bool)
- func (dars *Resource) StateMust() *dnsARecordSetState
- func (dars *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Addresses: set of string, required Addresses terra.SetValue[terra.StringValue] `hcl:"addresses,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Ttl: number, optional Ttl terra.NumberValue `hcl:"ttl,attr"` // Zone: string, required Zone terra.StringValue `hcl:"zone,attr" validate:"required"` }
Args contains the configurations for dns_a_record_set.
type DataArgs ¶
type DataArgs struct { // Host: string, required Host terra.StringValue `hcl:"host,attr" validate:"required"` }
DataArgs contains the configurations for dns_a_record_set.
type DataSource ¶
DataSource represents the Terraform data resource dns_a_record_set.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (dars *DataSource) Attributes() dataDnsARecordSetAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (dars *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (dars *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (dars *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource dns_a_record_set.
func (*Resource) Attributes ¶
func (dars *Resource) Attributes() dnsARecordSetAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (dars *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (dars *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.