mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-17 09:07:20 +01:00
feat: Add instance_metadata_tags attribute to launch templates (#1781)
This commit is contained in:
@@ -225,6 +225,7 @@ module "eks" {
|
|||||||
http_endpoint = "enabled"
|
http_endpoint = "enabled"
|
||||||
http_tokens = "required"
|
http_tokens = "required"
|
||||||
http_put_response_hop_limit = 2
|
http_put_response_hop_limit = 2
|
||||||
|
instance_metadata_tags = "enabled"
|
||||||
}
|
}
|
||||||
|
|
||||||
create_iam_role = true
|
create_iam_role = true
|
||||||
|
|||||||
@@ -138,6 +138,7 @@ module "eks" {
|
|||||||
http_endpoint = "enabled"
|
http_endpoint = "enabled"
|
||||||
http_tokens = "required"
|
http_tokens = "required"
|
||||||
http_put_response_hop_limit = 2
|
http_put_response_hop_limit = 2
|
||||||
|
instance_metadata_tags = "enabled"
|
||||||
}
|
}
|
||||||
|
|
||||||
create_iam_role = true
|
create_iam_role = true
|
||||||
|
|||||||
@@ -183,6 +183,7 @@ resource "aws_launch_template" "this" {
|
|||||||
http_tokens = lookup(metadata_options.value, "http_tokens", null)
|
http_tokens = lookup(metadata_options.value, "http_tokens", null)
|
||||||
http_put_response_hop_limit = lookup(metadata_options.value, "http_put_response_hop_limit", null)
|
http_put_response_hop_limit = lookup(metadata_options.value, "http_put_response_hop_limit", null)
|
||||||
http_protocol_ipv6 = lookup(metadata_options.value, "http_protocol_ipv6", null)
|
http_protocol_ipv6 = lookup(metadata_options.value, "http_protocol_ipv6", null)
|
||||||
|
instance_metadata_tags = lookup(metadata_options.value, "instance_metadata_tags", null)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -182,6 +182,7 @@ resource "aws_launch_template" "this" {
|
|||||||
http_tokens = lookup(metadata_options.value, "http_tokens", null)
|
http_tokens = lookup(metadata_options.value, "http_tokens", null)
|
||||||
http_put_response_hop_limit = lookup(metadata_options.value, "http_put_response_hop_limit", null)
|
http_put_response_hop_limit = lookup(metadata_options.value, "http_put_response_hop_limit", null)
|
||||||
http_protocol_ipv6 = lookup(metadata_options.value, "http_protocol_ipv6", null)
|
http_protocol_ipv6 = lookup(metadata_options.value, "http_protocol_ipv6", null)
|
||||||
|
instance_metadata_tags = lookup(metadata_options.value, "instance_metadata_tags", null)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ locals {
|
|||||||
http_endpoint = "enabled"
|
http_endpoint = "enabled"
|
||||||
http_tokens = "required"
|
http_tokens = "required"
|
||||||
http_put_response_hop_limit = 2
|
http_put_response_hop_limit = 2
|
||||||
|
instance_metadata_tags = "enabled"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user