Skip to content

Commit

Permalink
fix: Updating license_specification result type (#2798)
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-perge committed Oct 30, 2023
1 parent f0aa0da commit ba0ebeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/eks-managed-node-group/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion modules/self-managed-node-group/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ba0ebeb

Please sign in to comment.