terraform-aws-ec2-instance icon indicating copy to clipboard operation
terraform-aws-ec2-instance copied to clipboard

chore: Mark http_tokens required by default for imdsv2

Open chenrui333 opened this issue 1 year ago β€’ 1 comments

Description

mark http_tokens required by default for imdsv2

  • https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-metadata-v2-how-it-works.html
  • https://aws.amazon.com/blogs/security/get-the-full-benefits-of-imdsv2-and-disable-imdsv1-across-your-aws-infrastructure/
image

Motivation and Context

AWS is deprecating imdsv1, and http_tokens required is needed for imdsv2

Breaking Changes

This is metadata setup, I dont foresee it would break anything.

How Has This Been Tested?

  • [ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • [ ] I have tested and validated these changes using one or more of the provided examples/* projects
  • [ ] I have executed pre-commit run -a on my pull request

chenrui333 avatar Jan 28 '24 22:01 chenrui333

This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days

github-actions[bot] avatar Mar 01 '24 00:03 github-actions[bot]

This PR was automatically closed because of stale in 10 days

github-actions[bot] avatar Mar 12 '24 00:03 github-actions[bot]

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[bot] avatar Apr 11 '24 02:04 github-actions[bot]