Skip to content

Commit 0bee19d

Browse files
committed
aws - opentofu
Signed-off-by: Quan Zhou <quan@bitergia.com>
1 parent 76ce66c commit 0bee19d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • opentofu/modules/bap_aws_instance

opentofu/modules/bap_aws_instance/main.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ resource "aws_instance" "bap" {
4141
]
4242
}
4343

44+
metadata_options {
45+
http_endpoint = "enabled"
46+
http_tokens = "optional"
47+
http_put_response_hop_limit = 2
48+
}
49+
4450
iam_instance_profile = var.iam_instance_profile
4551
}
4652

0 commit comments

Comments
 (0)