Skip to content

Conversation

@dlee35
Copy link

@dlee35 dlee35 commented Nov 21, 2025

Following TF best practice example for adding IMDSv2 in AWS launch template. Corrects Issue #29.

Description

Include code block in AWS launch template for http options based on TF's launch template documentation.

Type of change

  • [✅] New Feature

Following TF best practice example
metadata_options {
http_endpoint = "enabled"
http_tokens = "required"
http_put_response_hop_limit = 1
Copy link

@ekoyle ekoyle Nov 24, 2025

Choose a reason for hiding this comment

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

This setting may prevent containers (exporters, etc) from using an instance role to connect to S3.

(I know there was an issue in the past where this needed to be >= 2 to use an instance role to connect to S3, unsure whether there was some other fix for that.)

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