Skip to content

Commit

Permalink
OPS-5920: Fixed MetaData V2
Browse files Browse the repository at this point in the history
  • Loading branch information
vikkasyousaf committed May 14, 2024
1 parent 5fb6166 commit 00cedc4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion modules/consul-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ resource "aws_launch_configuration" "launch_configuration" {
placement_tenancy = var.tenancy

metadata_options {
http_tokens = "required"
http_tokens = "required"
http_put_response_hop_limit = 1
http_endpoint = "enabled"
}

security_groups = [
Expand Down
4 changes: 3 additions & 1 deletion modules/vault-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ resource "aws_launch_configuration" "launch_configuration" {
]

metadata_options {
http_tokens = "required"
http_tokens = "required"
http_put_response_hop_limit = 1
http_endpoint = "enabled"
}

associate_public_ip_address = false
Expand Down

0 comments on commit 00cedc4

Please sign in to comment.