Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
chore: Enforce IMDSv2 (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
duboisph authored Sep 10, 2024
1 parent dd3990b commit 1f36633
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions teleport-server/instance.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ resource "aws_instance" "teleport_instance" {
encrypted = var.root_vl_encrypted
}

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

tags = {
Name = "teleport-${var.project}-${var.environment}"
Stack = "teleport"
Expand Down

0 comments on commit 1f36633

Please sign in to comment.