From 4f28cd1103a130a02db94b5d20958fe3cdfa3290 Mon Sep 17 00:00:00 2001 From: Andrew Conti Date: Tue, 15 Feb 2022 12:21:48 -0500 Subject: [PATCH] fix(self-managed-node-group/main): add missing quotes to block_duration_minutes --- modules/self-managed-node-group/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/self-managed-node-group/main.tf b/modules/self-managed-node-group/main.tf index 190460139b..40c68c56f5 100644 --- a/modules/self-managed-node-group/main.tf +++ b/modules/self-managed-node-group/main.tf @@ -158,7 +158,7 @@ resource "aws_launch_template" "this" { dynamic "spot_options" { for_each = lookup(instance_market_options.value, "spot_options", null) != null ? [instance_market_options.value.spot_options] : [] content { - block_duration_minutes = lookup(spot_options.value, block_duration_minutes, null) + block_duration_minutes = lookup(spot_options.value, "block_duration_minutes", null) instance_interruption_behavior = lookup(spot_options.value, "instance_interruption_behavior", null) max_price = lookup(spot_options.value, "max_price", null) spot_instance_type = lookup(spot_options.value, "spot_instance_type", null)