diff --git a/modules/karpenter/variables.tf b/modules/karpenter/variables.tf index 9485531d..6c7f926f 100644 --- a/modules/karpenter/variables.tf +++ b/modules/karpenter/variables.tf @@ -107,14 +107,7 @@ variable "karpenter_nodeclasses" { karpenter_node_tags_map = map(string) karpenter_ami_family = string karpenter_node_user_data = string - karpenter_node_metadata_options = map(object({ - httpEndpoint = optional(string) - httpProtocolIpv6 = optional(string) - httpPutResponseHopLimit = optional(number) - httpTokens = optional(string) - instanceMetadataTags = optional(string) - }) - ) + karpenter_node_metadata_options = map(any) karpenter_block_device_mapping = list(object({ deviceName = string ebs = object({ diff --git a/variables.tf b/variables.tf index 20e43706..5ec47451 100644 --- a/variables.tf +++ b/variables.tf @@ -474,14 +474,7 @@ variable "karpenter_nodeclasses" { karpenter_node_tags_map = map(string) karpenter_ami_family = string karpenter_node_user_data = string - karpenter_node_metadata_options = map(object({ - httpEndpoint = optional(string) - httpProtocolIpv6 = optional(string) - httpPutResponseHopLimit = optional(number) - httpTokens = optional(string) - instanceMetadataTags = optional(string) - }) - ) + karpenter_node_metadata_options = map(any) karpenter_block_device_mapping = list(object({ deviceName = string ebs = object({