mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-16 11:42:58 -06:00
Merge pull request #4732 from stack72/f-aws-docs-launch-config
docs/aws: Launch Config `ami` -> `image_id`
This commit is contained in:
commit
2be2bf3651
@ -15,7 +15,7 @@ Provides a resource to create a new launch configuration, used for autoscaling g
|
||||
```
|
||||
resource "aws_launch_configuration" "as_conf" {
|
||||
name = "web_config"
|
||||
ami = "ami-408c7f28"
|
||||
image_id = "ami-408c7f28"
|
||||
instance_type = "t1.micro"
|
||||
}
|
||||
```
|
||||
@ -33,7 +33,7 @@ with `name_prefix`. Example:
|
||||
```
|
||||
resource "aws_launch_configuration" "as_conf" {
|
||||
name_prefix = "terraform-lc-example-"
|
||||
ami = "ami-408c7f28"
|
||||
image_id = "ami-408c7f28"
|
||||
instance_type = "t1.micro"
|
||||
|
||||
lifecycle {
|
||||
@ -66,7 +66,7 @@ for more information or how to launch [Spot Instances][3] with Terraform.
|
||||
|
||||
```
|
||||
resource "aws_launch_configuration" "as_conf" {
|
||||
ami = "ami-408c7f28"
|
||||
image_id = "ami-408c7f28"
|
||||
instance_type = "t1.micro"
|
||||
spot_price = "0.001"
|
||||
lifecycle {
|
||||
|
Loading…
Reference in New Issue
Block a user