Versions in this module Expand all Collapse all v5 v5.45.0 Apr 16, 2024 Changes in this version + type Args struct + Architecture terra.StringValue + BootMode terra.StringValue + DeprecationTime terra.StringValue + Description terra.StringValue + EbsBlockDevice []EbsBlockDevice + EnaSupport terra.BoolValue + EphemeralBlockDevice []EphemeralBlockDevice + Id terra.StringValue + ImageLocation terra.StringValue + ImdsSupport terra.StringValue + KernelId terra.StringValue + Name terra.StringValue + RamdiskId terra.StringValue + RootDeviceName terra.StringValue + SriovNetSupport terra.StringValue + Tags terra.MapValue[terra.StringValue] + TagsAll terra.MapValue[terra.StringValue] + Timeouts *Timeouts + TpmSupport terra.StringValue + VirtualizationType terra.StringValue + type DataArgs struct + ExecutableUsers terra.ListValue[terra.StringValue] + Filter []DataFilter + Id terra.StringValue + IncludeDeprecated terra.BoolValue + MostRecent terra.BoolValue + NameRegex terra.StringValue + Owners terra.ListValue[terra.StringValue] + Tags terra.MapValue[terra.StringValue] + Timeouts *DataTimeouts + type DataBlockDeviceMappingsAttributes struct + func (bdm DataBlockDeviceMappingsAttributes) DeviceName() terra.StringValue + func (bdm DataBlockDeviceMappingsAttributes) Ebs() terra.MapValue[terra.StringValue] + func (bdm DataBlockDeviceMappingsAttributes) InternalRef() (terra.Reference, error) + func (bdm DataBlockDeviceMappingsAttributes) InternalTokens() (hclwrite.Tokens, error) + func (bdm DataBlockDeviceMappingsAttributes) InternalWithRef(ref terra.Reference) DataBlockDeviceMappingsAttributes + func (bdm DataBlockDeviceMappingsAttributes) NoDevice() terra.StringValue + func (bdm DataBlockDeviceMappingsAttributes) VirtualName() terra.StringValue + type DataBlockDeviceMappingsState struct + DeviceName string + Ebs map[string]string + NoDevice string + VirtualName string + type DataFilter struct + Name terra.StringValue + Values terra.ListValue[terra.StringValue] + type DataFilterAttributes struct + func (f DataFilterAttributes) InternalRef() (terra.Reference, error) + func (f DataFilterAttributes) InternalTokens() (hclwrite.Tokens, error) + func (f DataFilterAttributes) InternalWithRef(ref terra.Reference) DataFilterAttributes + func (f DataFilterAttributes) Name() terra.StringValue + func (f DataFilterAttributes) Values() terra.ListValue[terra.StringValue] + type DataFilterState struct + Name string + Values []string + type DataProductCodesAttributes struct + func (pc DataProductCodesAttributes) InternalRef() (terra.Reference, error) + func (pc DataProductCodesAttributes) InternalTokens() (hclwrite.Tokens, error) + func (pc DataProductCodesAttributes) InternalWithRef(ref terra.Reference) DataProductCodesAttributes + func (pc DataProductCodesAttributes) ProductCodeId() terra.StringValue + func (pc DataProductCodesAttributes) ProductCodeType() terra.StringValue + type DataProductCodesState struct + ProductCodeId string + ProductCodeType string + type DataSource struct + Args DataArgs + Name string + func Data(name string, args DataArgs) *DataSource + func (aa *DataSource) Attributes() dataAwsAmiAttributes + func (aa *DataSource) Configuration() interface{} + func (aa *DataSource) DataSource() string + func (aa *DataSource) LocalName() string + type DataTimeouts struct + Read terra.StringValue + type DataTimeoutsAttributes struct + func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error) + func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error) + func (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes + func (t DataTimeoutsAttributes) Read() terra.StringValue + type DataTimeoutsState struct + Read string + type EbsBlockDevice struct + DeleteOnTermination terra.BoolValue + DeviceName terra.StringValue + Encrypted terra.BoolValue + Iops terra.NumberValue + OutpostArn terra.StringValue + SnapshotId terra.StringValue + Throughput terra.NumberValue + VolumeSize terra.NumberValue + VolumeType terra.StringValue + type EbsBlockDeviceAttributes struct + func (ebd EbsBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue + func (ebd EbsBlockDeviceAttributes) DeviceName() terra.StringValue + func (ebd EbsBlockDeviceAttributes) Encrypted() terra.BoolValue + 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) OutpostArn() terra.StringValue + func (ebd EbsBlockDeviceAttributes) SnapshotId() terra.StringValue + func (ebd EbsBlockDeviceAttributes) Throughput() terra.NumberValue + func (ebd EbsBlockDeviceAttributes) VolumeSize() terra.NumberValue + func (ebd EbsBlockDeviceAttributes) VolumeType() terra.StringValue + type EbsBlockDeviceState struct + DeleteOnTermination bool + DeviceName string + Encrypted bool + Iops float64 + OutpostArn string + SnapshotId string + Throughput float64 + VolumeSize float64 + VolumeType string + type EphemeralBlockDevice struct + DeviceName terra.StringValue + VirtualName terra.StringValue + type EphemeralBlockDeviceAttributes struct + 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 struct + DeviceName string + VirtualName string + type Resource struct + Args Args + DependsOn terra.Dependencies + Lifecycle *terra.Lifecycle + Name string + func New(name string, args Args) *Resource + func (aa *Resource) Attributes() awsAmiAttributes + func (aa *Resource) Configuration() interface{} + func (aa *Resource) DependOn() terra.Reference + func (aa *Resource) Dependencies() terra.Dependencies + func (aa *Resource) ImportState(state io.Reader) error + func (aa *Resource) LifecycleManagement() *terra.Lifecycle + func (aa *Resource) LocalName() string + func (aa *Resource) State() (*awsAmiState, bool) + func (aa *Resource) StateMust() *awsAmiState + func (aa *Resource) Type() string + type Timeouts struct + Create terra.StringValue + Delete terra.StringValue + Update terra.StringValue + type TimeoutsAttributes struct + 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 struct + Create string + Delete string + Update string