github.com/ezbercih/terraform@v0.1.1-0.20140729011846-3c33865e0839/website/source/docs/providers/aws/r/launch_config.html.markdown (about) 1 --- 2 layout: "aws" 3 page_title: "AWS: aws_launch_configuration" 4 sidebar_current: "docs-aws-resource-launch-config" 5 --- 6 7 # aws\_launch\_configuration 8 9 Provides a resource to create a new launch configuration, used for autoscaling groups. 10 11 ## Example Usage 12 13 ``` 14 resource "aws_launch_configuration" "as_conf" { 15 name = "web_config" 16 image_id = "ami-1234" 17 instance_type = "m1.small" 18 } 19 ``` 20 21 ## Argument Reference 22 23 The following arguments are supported: 24 25 * `name` - (Required) The name of the launch configuration. 26 * `image_id` - (Required) The EC2 image ID to launch. 27 * `instance_type` - (Required) The size of instance to launch. 28 * `key_name` - (Optional) The key name that should be used for the instance. 29 * `security_groups` - (Optional) A list of associated security group IDS. 30 31 ## Attributes Reference 32 33 The following attributes are exported: 34 35 * `id` - The ID of the launch configuration. 36