Optional
associateAssociate a public ip address with an instance in a VPC.
Optional
ebsAdditional EBS block devices to attach to the instance. See Block Devices below for details.
If not provided, a 5gb 'gp2' device will be mounted at '/dev/xvdb' and a 50gb 'gp2' device will be mounted at '/dev/xvdcz'. Both devices will be deleted upon termination.
Optional
ebsIf true, the launched EC2 instance will be EBS-optimized.
Optional
ecsThe name of the ECS-optimzed AMI to use for the Container Instances in this cluster, e.g. "amzn-ami-2017.09.l-amazon-ecs-optimized". Defaults to using the latest recommended ECS Linux Optimized AMI, which may change over time and cause recreation of EC2 instances when new versions are release. To control when these changes are adopted, set this parameter explicitly to the version you would like to use.
See http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html for valid values.
Optional
enableEnables/disables detailed monitoring. This is enabled by default.
Optional
ephemeralCustomize Ephemeral (also known as "Instance Store") volumes on the instance. See Block Devices below for details.
Optional
iamThe name attribute of the IAM instance profile to associate with launched instances.
Optional
imageThe EC2 image ID to launch. If this is not provided, then [ecsOptimizedAMIName] will be
used. If neither are provided the imageId for Amazon'
"/aws/service/ecs/optimized-ami/amazon-linux/recommended"
image will be used.
Optional
instanceThe instance profile to use for the autoscaling group. If not provided, a default one will be created.
Optional
instanceThe size of instance to launch. Defaults to t2.micro if unspecified.
Optional
keyThe key name that should be used for the instance.
Optional
nameThe name of the launch configuration. If you leave this blank, Terraform will auto-generate a unique name.
Optional
nameCreates a unique name beginning with the specified
prefix. Conflicts with name
.
Optional
placementThe tenancy of the instance. Valid values are "default"
or "dedicated"
, see
http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_CreateLaunchConfiguration.html
for more details. Default is "default" if unspecified.
Optional
rootCustomize details about the root block device of the instance. See Block Devices below for details.
If not provided, an 32gb 'gp2' root device will be created. This device will be deleted upon termination.
Optional
securityA list of associated security group IDs.
Optional
spotThe maximum price to use for reserving spot instances.
Optional
stackThe name of the stack the launch configuration will signal.
Optional
userThe user data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see user_data_base64
instead.
Optional
userCan be used instead of user_data
to pass base64-encoded binary data directly. Use this
instead of user_data
whenever the value is not a valid UTF-8 string. For example,
gzip-encoded user data must be base64-encoded and passed via this argument to avoid
corruption.
Optional
vpcThe ID of a ClassicLink-enabled VPC. Only applies to EC2-Classic instances. (eg. vpc-2730681a
)
Optional
vpcThe IDs of one or more security groups for the specified ClassicLink-enabled VPC (eg. sg-46ae3d11
).
Generated using TypeDoc
The set of arguments when creating the launch configuration for a cluster's autoscaling group.