Skip to content

Commit

Permalink
Merge pull request #15 from depot/imdsv2
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie authored Aug 8, 2023
2 parents b7b78c0 + 9c7e0d6 commit c96e749
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ resource "aws_launch_template" "x86" {
arn = aws_iam_instance_profile.instance[0].arn
}

metadata_options {
http_tokens = "required"
http_put_response_hop_limit = 1
}

network_interfaces {
device_index = 0
associate_public_ip_address = true
Expand Down Expand Up @@ -194,6 +199,11 @@ resource "aws_launch_template" "arm" {
arn = aws_iam_instance_profile.instance[0].arn
}

metadata_options {
http_tokens = "required"
http_put_response_hop_limit = 1
}

network_interfaces {
device_index = 0
associate_public_ip_address = true
Expand Down

0 comments on commit c96e749

Please sign in to comment.