Skip to content

Commit

Permalink
Merge pull request #586 from danpaul81/eks-131
Browse files Browse the repository at this point in the history
eks 1.31 metadata changes
  • Loading branch information
andrewh1978 authored Dec 12, 2024
2 parents a2c2a5e + a24cad5 commit cec5cc9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ aws_type: t3.large
aws_ebs: "gp2:50"
aws_access_key_id: ""
aws_secret_access_key: ""
eks_version: "1.28"
eks_version: "1.31"
#aws_ebs: "gp2:20 standard:30"

gcp_region: europe-north1
Expand Down
5 changes: 5 additions & 0 deletions terraform/aws/eks/eks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,11 @@ resource "aws_launch_template" "cluster" {
for_each = var.eksclusters
name = format("%s-%s-%s",var.name_prefix,var.config_name, each.key)
instance_type = each.value
metadata_options {
http_endpoint = "enabled"
http_put_response_hop_limit = 3
}

block_device_mappings {
device_name = "/dev/xvda"
ebs {
Expand Down

0 comments on commit cec5cc9

Please sign in to comment.