feat: Add instance_metadata_tags attribute to launch templates (#1781)

This commit is contained in:
Bryant Biggs
2022-01-14 15:22:58 -05:00
committed by GitHub
parent aba94002e4
commit 85bb1a00b6
5 changed files with 5 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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)
} }
} }

View File

@@ -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)
} }
} }

View File

@@ -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"
} }
} }