mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-15 00:04:07 +01:00
fix: Updating license_specification result type (#2798)
This commit is contained in:
committed by
GitHub
parent
f0aa0dac86
commit
ba0ebeb11a
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user