Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Updating launch templates for IMDSv2#348

Merged
hamzahashicorp merged 1 commit intomainfrom
hbaig/enable_http_token
Feb 28, 2025
Merged

Updating launch templates for IMDSv2#348
hamzahashicorp merged 1 commit intomainfrom
hbaig/enable_http_token

Conversation

@hamzahashicorp
Copy link
Member

@hamzahashicorp hamzahashicorp commented Feb 27, 2025

Background

This PR's purpose is to improve Terraform Enterprise's overall security posture by requiring http_tokens to be required in order for us to move to IMDSv2.

The http_tokens parameter controls whether the instance metadata service requires the use of session tokens, which are a key feature of IMDSv2.

Changing this to required value enforces the use of IMDSv2. All requests to the instance metadata service must include a session token, which enhances security by preventing unauthorized access to the instance metadata.

How Has This Been Tested

Tested internally.

@hamzahashicorp hamzahashicorp requested a review from a team as a code owner February 27, 2025 23:08
Copy link
Contributor

@p0pr0ck5 p0pr0ck5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yayyyyyyyyyyy :D

@hamzahashicorp hamzahashicorp merged commit 76cc51f into main Feb 28, 2025
4 checks passed
@hamzahashicorp hamzahashicorp deleted the hbaig/enable_http_token branch February 28, 2025 00:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants