Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating launch templates for IMDSv2 #348

Merged
merged 1 commit into from
Feb 28, 2025
Merged

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants