mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-16 01:38:58 +03:00
Adding join function to data.aws_subnet_ids.private.ids
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user