Documentation
¶
Index ¶
- type Args
- type EbsBlockDevice
- type EbsBlockDeviceAttributes
- func (ebd EbsBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue
- func (ebd EbsBlockDeviceAttributes) DeviceName() terra.StringValue
- func (ebd EbsBlockDeviceAttributes) InternalRef() (terra.Reference, error)
- func (ebd EbsBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ebd EbsBlockDeviceAttributes) InternalWithRef(ref terra.Reference) EbsBlockDeviceAttributes
- func (ebd EbsBlockDeviceAttributes) Iops() terra.NumberValue
- func (ebd EbsBlockDeviceAttributes) SnapshotId() terra.StringValue
- func (ebd EbsBlockDeviceAttributes) VolumeSize() terra.NumberValue
- func (ebd EbsBlockDeviceAttributes) VolumeType() terra.StringValue
- type EbsBlockDeviceState
- type EphemeralBlockDevice
- type EphemeralBlockDeviceAttributes
- func (ebd EphemeralBlockDeviceAttributes) DeviceName() terra.StringValue
- func (ebd EphemeralBlockDeviceAttributes) InternalRef() (terra.Reference, error)
- func (ebd EphemeralBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ebd EphemeralBlockDeviceAttributes) InternalWithRef(ref terra.Reference) EphemeralBlockDeviceAttributes
- func (ebd EphemeralBlockDeviceAttributes) VirtualName() terra.StringValue
- type EphemeralBlockDeviceState
- type Resource
- func (aoi *Resource) Attributes() awsOpsworksInstanceAttributes
- func (aoi *Resource) Configuration() interface{}
- func (aoi *Resource) DependOn() terra.Reference
- func (aoi *Resource) Dependencies() terra.Dependencies
- func (aoi *Resource) ImportState(state io.Reader) error
- func (aoi *Resource) LifecycleManagement() *terra.Lifecycle
- func (aoi *Resource) LocalName() string
- func (aoi *Resource) State() (*awsOpsworksInstanceState, bool)
- func (aoi *Resource) StateMust() *awsOpsworksInstanceState
- func (aoi *Resource) Type() string
- type RootBlockDevice
- type RootBlockDeviceAttributes
- func (rbd RootBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue
- func (rbd RootBlockDeviceAttributes) InternalRef() (terra.Reference, error)
- func (rbd RootBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rbd RootBlockDeviceAttributes) InternalWithRef(ref terra.Reference) RootBlockDeviceAttributes
- func (rbd RootBlockDeviceAttributes) Iops() terra.NumberValue
- func (rbd RootBlockDeviceAttributes) VolumeSize() terra.NumberValue
- func (rbd RootBlockDeviceAttributes) VolumeType() terra.StringValue
- type RootBlockDeviceState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AgentVersion: string, optional AgentVersion terra.StringValue `hcl:"agent_version,attr"` // AmiId: string, optional AmiId terra.StringValue `hcl:"ami_id,attr"` // Architecture: string, optional Architecture terra.StringValue `hcl:"architecture,attr"` // AutoScalingType: string, optional AutoScalingType terra.StringValue `hcl:"auto_scaling_type,attr"` // AvailabilityZone: string, optional AvailabilityZone terra.StringValue `hcl:"availability_zone,attr"` // CreatedAt: string, optional CreatedAt terra.StringValue `hcl:"created_at,attr"` // DeleteEbs: bool, optional DeleteEbs terra.BoolValue `hcl:"delete_ebs,attr"` // DeleteEip: bool, optional DeleteEip terra.BoolValue `hcl:"delete_eip,attr"` // EbsOptimized: bool, optional EbsOptimized terra.BoolValue `hcl:"ebs_optimized,attr"` // EcsClusterArn: string, optional EcsClusterArn terra.StringValue `hcl:"ecs_cluster_arn,attr"` // ElasticIp: string, optional ElasticIp terra.StringValue `hcl:"elastic_ip,attr"` // Hostname: string, optional Hostname terra.StringValue `hcl:"hostname,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InfrastructureClass: string, optional InfrastructureClass terra.StringValue `hcl:"infrastructure_class,attr"` // InstallUpdatesOnBoot: bool, optional InstallUpdatesOnBoot terra.BoolValue `hcl:"install_updates_on_boot,attr"` // InstanceProfileArn: string, optional InstanceProfileArn terra.StringValue `hcl:"instance_profile_arn,attr"` // InstanceType: string, optional InstanceType terra.StringValue `hcl:"instance_type,attr"` // LayerIds: list of string, required LayerIds terra.ListValue[terra.StringValue] `hcl:"layer_ids,attr" validate:"required"` // Os: string, optional Os terra.StringValue `hcl:"os,attr"` // RootDeviceType: string, optional RootDeviceType terra.StringValue `hcl:"root_device_type,attr"` // SecurityGroupIds: list of string, optional SecurityGroupIds terra.ListValue[terra.StringValue] `hcl:"security_group_ids,attr"` // SshKeyName: string, optional SshKeyName terra.StringValue `hcl:"ssh_key_name,attr"` // StackId: string, required StackId terra.StringValue `hcl:"stack_id,attr" validate:"required"` // State: string, optional State terra.StringValue `hcl:"state,attr"` // Status: string, optional Status terra.StringValue `hcl:"status,attr"` // SubnetId: string, optional SubnetId terra.StringValue `hcl:"subnet_id,attr"` // Tenancy: string, optional Tenancy terra.StringValue `hcl:"tenancy,attr"` // VirtualizationType: string, optional VirtualizationType terra.StringValue `hcl:"virtualization_type,attr"` // EbsBlockDevice: min=0 EbsBlockDevice []EbsBlockDevice `hcl:"ebs_block_device,block" validate:"min=0"` // EphemeralBlockDevice: min=0 EphemeralBlockDevice []EphemeralBlockDevice `hcl:"ephemeral_block_device,block" validate:"min=0"` // RootBlockDevice: min=0 RootBlockDevice []RootBlockDevice `hcl:"root_block_device,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_opsworks_instance.
type EbsBlockDevice ¶
type EbsBlockDevice struct { // DeleteOnTermination: bool, optional DeleteOnTermination terra.BoolValue `hcl:"delete_on_termination,attr"` // DeviceName: string, required DeviceName terra.StringValue `hcl:"device_name,attr" validate:"required"` // Iops: number, optional Iops terra.NumberValue `hcl:"iops,attr"` // SnapshotId: string, optional SnapshotId terra.StringValue `hcl:"snapshot_id,attr"` // VolumeSize: number, optional VolumeSize terra.NumberValue `hcl:"volume_size,attr"` // VolumeType: string, optional VolumeType terra.StringValue `hcl:"volume_type,attr"` }
type EbsBlockDeviceAttributes ¶
type EbsBlockDeviceAttributes struct {
// contains filtered or unexported fields
}
func (EbsBlockDeviceAttributes) DeleteOnTermination ¶
func (ebd EbsBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue
func (EbsBlockDeviceAttributes) DeviceName ¶
func (ebd EbsBlockDeviceAttributes) DeviceName() terra.StringValue
func (EbsBlockDeviceAttributes) InternalRef ¶
func (ebd EbsBlockDeviceAttributes) InternalRef() (terra.Reference, error)
func (EbsBlockDeviceAttributes) InternalTokens ¶
func (ebd EbsBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EbsBlockDeviceAttributes) InternalWithRef ¶
func (ebd EbsBlockDeviceAttributes) InternalWithRef(ref terra.Reference) EbsBlockDeviceAttributes
func (EbsBlockDeviceAttributes) Iops ¶
func (ebd EbsBlockDeviceAttributes) Iops() terra.NumberValue
func (EbsBlockDeviceAttributes) SnapshotId ¶
func (ebd EbsBlockDeviceAttributes) SnapshotId() terra.StringValue
func (EbsBlockDeviceAttributes) VolumeSize ¶
func (ebd EbsBlockDeviceAttributes) VolumeSize() terra.NumberValue
func (EbsBlockDeviceAttributes) VolumeType ¶
func (ebd EbsBlockDeviceAttributes) VolumeType() terra.StringValue
type EbsBlockDeviceState ¶
type EphemeralBlockDevice ¶
type EphemeralBlockDevice struct { // DeviceName: string, required DeviceName terra.StringValue `hcl:"device_name,attr" validate:"required"` // VirtualName: string, required VirtualName terra.StringValue `hcl:"virtual_name,attr" validate:"required"` }
type EphemeralBlockDeviceAttributes ¶
type EphemeralBlockDeviceAttributes struct {
// contains filtered or unexported fields
}
func (EphemeralBlockDeviceAttributes) DeviceName ¶
func (ebd EphemeralBlockDeviceAttributes) DeviceName() terra.StringValue
func (EphemeralBlockDeviceAttributes) InternalRef ¶
func (ebd EphemeralBlockDeviceAttributes) InternalRef() (terra.Reference, error)
func (EphemeralBlockDeviceAttributes) InternalTokens ¶
func (ebd EphemeralBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EphemeralBlockDeviceAttributes) InternalWithRef ¶
func (ebd EphemeralBlockDeviceAttributes) InternalWithRef(ref terra.Reference) EphemeralBlockDeviceAttributes
func (EphemeralBlockDeviceAttributes) VirtualName ¶
func (ebd EphemeralBlockDeviceAttributes) VirtualName() terra.StringValue
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 aws_opsworks_instance.
func (*Resource) Attributes ¶
func (aoi *Resource) Attributes() awsOpsworksInstanceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aoi *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aoi *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.
type RootBlockDevice ¶
type RootBlockDevice struct { // DeleteOnTermination: bool, optional DeleteOnTermination terra.BoolValue `hcl:"delete_on_termination,attr"` // Iops: number, optional Iops terra.NumberValue `hcl:"iops,attr"` // VolumeSize: number, optional VolumeSize terra.NumberValue `hcl:"volume_size,attr"` // VolumeType: string, optional VolumeType terra.StringValue `hcl:"volume_type,attr"` }
type RootBlockDeviceAttributes ¶
type RootBlockDeviceAttributes struct {
// contains filtered or unexported fields
}
func (RootBlockDeviceAttributes) DeleteOnTermination ¶
func (rbd RootBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue
func (RootBlockDeviceAttributes) InternalRef ¶
func (rbd RootBlockDeviceAttributes) InternalRef() (terra.Reference, error)
func (RootBlockDeviceAttributes) InternalTokens ¶
func (rbd RootBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RootBlockDeviceAttributes) InternalWithRef ¶
func (rbd RootBlockDeviceAttributes) InternalWithRef(ref terra.Reference) RootBlockDeviceAttributes
func (RootBlockDeviceAttributes) Iops ¶
func (rbd RootBlockDeviceAttributes) Iops() terra.NumberValue
func (RootBlockDeviceAttributes) VolumeSize ¶
func (rbd RootBlockDeviceAttributes) VolumeSize() terra.NumberValue
func (RootBlockDeviceAttributes) VolumeType ¶
func (rbd RootBlockDeviceAttributes) VolumeType() terra.StringValue
type RootBlockDeviceState ¶
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.