Skip to content

Commit ca27666

Browse files
committed
added http_endpoint
Signed-off-by: Mark Bolwell <[email protected]>
1 parent b0059e4 commit ca27666

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

main.tf

+5-4
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,15 @@ resource "aws_instance" "testing_vm" {
4545
key_name = var.ami_key_pair_name # This is the key as known in the ec2 key_pairs
4646
instance_type = var.instance_type
4747
tags = {
48-
Environment = "${var.environment}"
49-
Name = "${var.benchmark_os}-${var.benchmark_type}"
50-
repository = "${var.repository}"
48+
Environment = "${var.environment}"
49+
Name = "${var.benchmark_os}-${var.benchmark_type}"
50+
repository = "${var.repository}"
5151
}
5252
vpc_security_group_ids = [aws_security_group.github_actions.id]
5353
subnet_id = aws_subnet.Main.id
5454
metadata_options {
55-
http_tokens = "required"
55+
http_tokens = "required"
56+
http_endpoint = "enabled"
5657
}
5758
root_block_device {
5859
delete_on_termination = true

0 commit comments

Comments
 (0)