Skip to content

Commit

Permalink
fix(autoscaling): EbsDeviceVolumeType.IO2 is not a valid CloudFormati…
Browse files Browse the repository at this point in the history
…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*
  • Loading branch information
jumic committed Sep 7, 2021
1 parent c2852c9 commit 492d33b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions allowed-breaking-changes.txt
Expand Up @@ -74,3 +74,7 @@ removed:@aws-cdk/aws-stepfunctions-tasks.BatchSubmitJobProps.jobDefinition
strengthened:@aws-cdk/aws-stepfunctions-tasks.BatchSubmitJobProps
removed:@aws-cdk/aws-lambda-event-sources.ManagedKafkaEventSourceProps.cluster
strengthened:@aws-cdk/aws-lambda-event-sources.ManagedKafkaEventSourceProps

# Remove IO2 from autoscaling EbsDeviceVolumeType. This value is not supported
# at the moment and was not supported in the past.
removed:@aws-cdk/aws-autoscaling.EbsDeviceVolumeType.IO2
5 changes: 0 additions & 5 deletions packages/@aws-cdk/aws-autoscaling/lib/volume.ts
Expand Up @@ -182,11 +182,6 @@ export enum EbsDeviceVolumeType {
*/
IO1 = 'io1',

/**
* Provisioned IOPS SSD - IO2
*/
IO2 = 'io2',

/**
* General Purpose SSD - GP2
*/
Expand Down

0 comments on commit 492d33b

Please sign in to comment.