-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
(ec2): BastionHost deviceName example is wrong #29103
Comments
Yes I guess we should have a PR to fix that. Thanks for the report. Are you interested to submit a PR for that? |
|
1 similar comment
|
@msambol any thoughts about GP2 vs GP3 default? |
Changing this might lead to recreation of disks and is a breaking change. So only possible with feature flags. |
@hoegertn so I understand that you're going to add a new feature flag for this so that newly created instances are actually following the current AWS platform defaults without explicitly setting this, right? |
The implementation of BastionHost and Instance that it uses internally currently does not specify the volume type but uses the CloudFormation default. So, if this should be changed, that needs to be implemented and then guarded by a feature flag to not break existing users. I'm not sure if this is planned currently. |
Ah! I assumed it was internally hardcoded as a default in aws-cdk and wasn't aware it's coming from CloudFormation - so it would need actually an update on the platform side for the Cloudformation default to be updated. |
Closes #29103. I tested the example and it deploys. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Describe the bug
The example listed in the documentation renders:
The proposed
deviceName
does not align with the supported ones.Additionally:
has an implicit volumeType default of GP2, while it should now be GP3 by default if not specified.
Expected Behavior
The example from documentation should work when copy-pasted.
Current Behavior
As above.
Reproduction Steps
As above.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.127.0 (build 6c90efc)
Framework Version
No response
Node.js Version
v18.18.2
OS
MacOS
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: