Add support for placement group in launch template (#332)

* Update to 1.12

* Update workers_launch_template.tf

* Update local.tf

* Update CHANGELOG.md

* Update workers.tf

* Update workers.tf
This commit is contained in:
rverma-nikiai
2019-04-11 18:45:07 +05:30
committed by Max Williams
parent fb59e4fef4
commit b81a15ad41
2 changed files with 3 additions and 1 deletions

View File

@@ -82,7 +82,8 @@ resource "aws_launch_template" "workers_launch_template" {
}
placement {
tenancy = "${lookup(var.worker_groups_launch_template[count.index], "placement_tenancy", local.workers_group_launch_template_defaults["placement_tenancy"])}"
tenancy = "${lookup(var.worker_groups_launch_template[count.index], "placement_tenancy", local.workers_group_launch_template_defaults["placement_tenancy"])}"
group_name = "${lookup(var.worker_groups_launch_template[count.index], "placement_group", local.workers_group_launch_template_defaults["placement_group"])}"
}
count = "${var.worker_group_launch_template_count}"