Fix launch template market option expansion (#508)

* Fix launch template market option expansion

* Update changelog
This commit is contained in:
Tomas Ostasevicius
2019-09-16 11:32:39 +02:00
committed by Max Williams
parent f88220a8eb
commit 4f4d9c304d
2 changed files with 3 additions and 3 deletions

View File

@@ -316,10 +316,9 @@ resource "aws_launch_template" "workers_launch_template" {
}
dynamic instance_market_options {
iterator = item
for_each = lookup(var.worker_groups_launch_template[count.index], "market_type", null) == null ? [] : list(lookup(var.worker_groups_launch_template[count.index], "market_type", null))
content {
market_type = item.value
market_type = instance_market_options.value
}
}