-
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
(autoscaling): EbsDeviceVolumeType.IO2 is not a valid CloudFormation value #16027
Comments
Thanks for the submission! But this isn't something we want to do. The EBSDeviceVolumeType enum is also used for an EC2 Volume which does support io2 |
|
Looks like Neta didn't catch this when she labelled the |
@peterwoodworth It's fine for me to keep this value. Maybe it will be added to Auto Scaling in the future, too. There's one thing I want to mention if somebody has a look at this issue later: |
Thanks for pinging me about this @jumic, I didn't catch that there are two different enums. I'm looking back into the PR which merged the change right now, that PR was probably a mistake |
There's no mention in any of the original issues about Autoscaling, and Autoscaling has never supported io2. The PR seems to have just included the autoscaling enum as well even though autoscaling doesn't support io2 I wonder if the Autoscaling volume type lags behind the ec2 volume type. In other words, I wonder if io2 will be supported soon for Autoscaling like gp3 was. For now, I can confirm your PR is safe to merge. I'll look into if io2 will be an option for autoscaling and if I can't find anything about that I will go ahead and merge your change :) |
…on value (#16028) Remove value IO2 from enum EbsDeviceVolumeType because it is not supported in CloudFormation. Fixes #16027. Please double-check before approving: Value from enum is removed which could potentially be a breaking change. However, it's an invalid value. Therefore, it should be correct to remove it. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
AWS::AutoScaling::LaunchConfiguration BlockDevice supports the following values for property VolumeType (see documentation):
In CDK, values IO2 is also defined as a possible value in enum EbsDeviceVolumeType.
However, this value is not valid at the moment and should be removed.
Reproduction Steps
What did you expect to happen?
Deployment of AutoScalingGroup should be successfully.
What actually happened?
Deployment failed with error:
Environment
Other
Originally mentioned in issue #14685. I will submit a short PR and remove value IO2 as proposed for GP3 in the original issue.
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: