Skip to content

Commit ef24c10

Browse files
committed
fix: Force IMDSv2 just in case
1 parent 2ab6639 commit ef24c10

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

main.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ locals {
105105
}
106106
metadata_options = {
107107
http_put_response_hop_limit = 2
108+
http_tokens = "required"
108109
}
109110
}, var.managed_node_grp1)
110111
second_node_pool = merge(
@@ -131,6 +132,7 @@ locals {
131132
}
132133
metadata_options = {
133134
http_put_response_hop_limit = 2
135+
http_tokens = "required"
134136
}
135137
}, var.managed_node_grp2)
136138
third_node_pool = merge(
@@ -157,6 +159,7 @@ locals {
157159
}
158160
metadata_options = {
159161
http_put_response_hop_limit = 2
162+
http_tokens = "required"
160163
}
161164
}, var.managed_node_grp3)
162165
managed_node_groups = merge(

modules/eks/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module "eks" {
4747
# https://github.com/terraform-aws-modules/terraform-aws-eks/tree/master/docs
4848

4949
source = "terraform-aws-modules/eks/aws"
50-
version = "~> 21.1.0"
50+
version = "~> 21.1.5"
5151
# version = var.eks_module_version
5252

5353
name = var.deployment_name

0 commit comments

Comments
 (0)