Skip to content

feat: 🔒 IMDSv2 metadata restrictions#938

Merged
dpiddockcmp merged 2 commits into
terraform-aws-modules:masterfrom
danquack:metadata
Jul 12, 2020
Merged

feat: 🔒 IMDSv2 metadata restrictions#938
dpiddockcmp merged 2 commits into
terraform-aws-modules:masterfrom
danquack:metadata

Conversation

@danquack

@danquack danquack commented Jun 30, 2020

Copy link
Copy Markdown
Contributor

Metadata Options for Launch Template

Description

Adding metadata options to the launch template options, which will allow for IDMS v2 restrictions: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html

Checklist

@danquack danquack changed the title 🔒 IDMSv2 metadata restrictions feat 🔒 IDMSv2 metadata restrictions Jun 30, 2020
@danquack danquack changed the title feat 🔒 IDMSv2 metadata restrictions feat: 🔒 IDMSv2 metadata restrictions Jun 30, 2020
@danquack

danquack commented Jun 30, 2020

Copy link
Copy Markdown
Contributor Author

@barryib @brandonjbjelland @bryantbiggs @antonbabenko It wasnt apparent in the contributing guidelines who would review this, but I'm wondering if someone could take a look

@dpiddockcmp dpiddockcmp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for the PR.

Downside: it causes an update to Launch Templates even though it's setting default values. Silly Terraform. Avoiding that would create some really messy code. We'll just have to add a note to the changelog and take the abuse 😄

@dpiddockcmp dpiddockcmp merged commit 23ad497 into terraform-aws-modules:master Jul 12, 2020
@dpiddockcmp dpiddockcmp changed the title feat: 🔒 IDMSv2 metadata restrictions feat: 🔒 IMDSv2 metadata restrictions Jul 12, 2020
barryib pushed a commit to Polyconseil/terraform-aws-eks that referenced this pull request Oct 25, 2020
…s-modules#938)

NOTES: Addition of the IMDSv2 metadata configuration block to Launch Templates will cause a diff to be generated for existing Launch Templates on first Terraform apply. The defaults match existing behaviour.
@github-actions

Copy link
Copy Markdown

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 17, 2022
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.

3 participants