Skip to content

Commit 746b126

Browse files
committed
add back in market options"
"
1 parent 97aaf25 commit 746b126

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

main.tf

+7-7
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,13 @@ resource "aws_instance" "this" {
166166
}
167167
}
168168

169-
# dynamic "instance_market_options" {
170-
# for_each = var.instance_market_options != null ? [var.instance_market_options] : []
171-
#
172-
# content {
173-
# market_type = instance_market_options.value.market_type != null ? instance_market_options.value.market_type : error("market_type must be specified in instance_market_options")
174-
# }
175-
# }
169+
dynamic "instance_market_options" {
170+
for_each = var.instance_market_options != null ? [var.instance_market_options] : []
171+
172+
content {
173+
market_type = instance_market_options.value.market_type != null ? instance_market_options.value.market_type : error("market_type must be specified in instance_market_options")
174+
}
175+
}
176176

177177
enclave_options {
178178
enabled = var.enclave_options_enabled

0 commit comments

Comments
 (0)