From ba0ebeb11a64a6400a3666165509975d5cdfea43 Mon Sep 17 00:00:00 2001 From: JulianTheKalamari Date: Mon, 30 Oct 2023 14:40:03 -0400 Subject: [PATCH] fix: Updating license_specification result type (#2798) --- modules/eks-managed-node-group/main.tf | 2 +- modules/self-managed-node-group/main.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/eks-managed-node-group/main.tf b/modules/eks-managed-node-group/main.tf index 14c9b48..e4a5975 100644 --- a/modules/eks-managed-node-group/main.tf +++ b/modules/eks-managed-node-group/main.tf @@ -176,7 +176,7 @@ resource "aws_launch_template" "this" { key_name = var.key_name dynamic "license_specification" { - for_each = length(var.license_specifications) > 0 ? var.license_specifications : [] + for_each = length(var.license_specifications) > 0 ? var.license_specifications : {} content { license_configuration_arn = license_specification.value.license_configuration_arn diff --git a/modules/self-managed-node-group/main.tf b/modules/self-managed-node-group/main.tf index 5dc1bcc..3b04db8 100644 --- a/modules/self-managed-node-group/main.tf +++ b/modules/self-managed-node-group/main.tf @@ -282,7 +282,7 @@ resource "aws_launch_template" "this" { key_name = var.key_name dynamic "license_specification" { - for_each = length(var.license_specifications) > 0 ? var.license_specifications : [] + for_each = length(var.license_specifications) > 0 ? var.license_specifications : {} content { license_configuration_arn = license_specification.value.license_configuration_arn