From 8bc6488d559d603b539bc1a9c4eb8c57c529b25e Mon Sep 17 00:00:00 2001 From: Andrew Conti Date: Tue, 15 Feb 2022 12:31:48 -0500 Subject: [PATCH] fix: Add missing quotes to block_duration_minutes (#1881) --- 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 1904601..40c68c5 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)