mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-03 12:20:28 -06:00
Merge pull request #4640 from johnwards/patch-1
Fix auto scaling example to use ID rather than name
This commit is contained in:
commit
f3e58fdff5
@ -47,7 +47,7 @@ resource "aws_launch_configuration" "web-lc" {
|
||||
image_id = "${lookup(var.aws_amis, var.aws_region)}"
|
||||
instance_type = "${var.instance_type}"
|
||||
# Security group
|
||||
security_groups = ["${aws_security_group.default.name}"]
|
||||
security_groups = ["${aws_security_group.default.id}"]
|
||||
user_data = "${file("userdata.sh")}"
|
||||
key_name = "${var.key_name}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user