Skip to content

Commit

Permalink
Merge pull request #31 from Flaconi/OPS-5920-fix-metadata-v2
Browse files Browse the repository at this point in the history
OPS-5920: Fixed MetaData V2
  • Loading branch information
vikkasyousaf authored May 14, 2024
2 parents 5fb6166 + 00cedc4 commit 93d109c
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 93d109c

Please sign in to comment.