Skip to content

Commit 5896240

Browse files
authored
Update main.tf
1 parent 4f8131a commit 5896240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ resource "aws_autoscaling_group" "ASG" {
5151
version = "$Latest"
5252
}
5353

54-
vpc_zone_identifier = coalescelist(var.subnet_ids, data.aws_subnet_ids.subnets.ids)
54+
vpc_zone_identifier = coalescelist(var.subnet_ids,tolist(data.aws_subnet_ids.subnets.ids))
5555
termination_policies = ["OldestInstance"]
5656

5757
tag {

0 commit comments

Comments
 (0)