Adding join function to data.aws_subnet_ids.private.ids
parent
0116a8dbc7
commit
5f189d1d10
|
@ -40,7 +40,7 @@ module "asg" {
|
||||||
|
|
||||||
# Auto scaling group
|
# Auto scaling group
|
||||||
asg_name = "${local.service}-leader-asg"
|
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"
|
health_check_type = "EC2"
|
||||||
min_size = 1
|
min_size = 1
|
||||||
max_size = 1
|
max_size = 1
|
||||||
|
|
Loading…
Reference in New Issue