Adding join function to data.aws_subnet_ids.private.ids

This commit is contained in:
Jonathan Simon
2019-11-24 21:45:52 -08:00
parent 0116a8dbc7
commit 5f189d1d10

View File

@@ -40,7 +40,7 @@ module "asg" {
# Auto scaling group
asg_name = "${local.service}-leader-asg"
vpc_zone_identifier = ["${data.aws_subnet_ids.private.ids}"]
vpc_zone_identifier = [join(",", data.aws_subnet_ids.private.ids)]
health_check_type = "EC2"
min_size = 1
max_size = 1