Skip to content

Commit

Permalink
Disable IMDSv1
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzlei authored Mar 29, 2024
1 parent 38e684b commit fc23ca5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions testing/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ resource "aws_instance" "xray_daemon" {
tags = {
Name = "XRayDaemon"
}
metadata_options {
http_endpoint = "disabled"
http_tokens = "required"
}
}

resource "null_resource" "wait_for_instance_ready" {
Expand Down

0 comments on commit fc23ca5

Please sign in to comment.