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

IMDSv2: AutoscalingGroups should support LaunchTemplate instead of/as well as LaunchConfiguration #6977

Closed
1 of 2 tasks
winjer opened this issue Mar 24, 2020 · 1 comment
Closed
1 of 2 tasks
Assignees
Labels
@aws-cdk/aws-autoscaling Related to Amazon EC2 Auto Scaling feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.

Comments

@winjer
Copy link

winjer commented Mar 24, 2020

Support LaunchTemplates as part of AutoScalingGroups as well as or instead of LaunchConfigurations.

Use Case

I am required to use IMDSv2 by our security policy.

From the docs:

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html:

To require the use of IMDSv2 on all new instances launched by Auto Scaling groups, your Auto Scaling groups must use launch templates. When you create a launch template, configure the MetadataOptions parameters to require the use IMDSv2. For Auto Scaling groups that use launch configurations, replace the launch configurations with launch templates.

Proposed Solution

@aws-cdk/aws-autoscaling needs changing.

Other

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

@winjer winjer added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Mar 24, 2020
@SomayaB SomayaB added the @aws-cdk/aws-autoscaling Related to Amazon EC2 Auto Scaling label Mar 25, 2020
@NetaNir
Copy link
Contributor

NetaNir commented Mar 25, 2020

Hi @winjer!

You are right we should, tracking it here #6734
closing it as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-autoscaling Related to Amazon EC2 Auto Scaling feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

3 participants