From 492d33b27bc5b935e3da75f0bddd875bb6f9c15d Mon Sep 17 00:00:00 2001 From: Julian Michel Date: Tue, 7 Sep 2021 16:08:08 +0200 Subject: [PATCH] fix(autoscaling): EbsDeviceVolumeType.IO2 is not a valid CloudFormation 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* --- allowed-breaking-changes.txt | 4 ++++ packages/@aws-cdk/aws-autoscaling/lib/volume.ts | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/allowed-breaking-changes.txt b/allowed-breaking-changes.txt index 47f19a6719d17..6def9776b6dc9 100644 --- a/allowed-breaking-changes.txt +++ b/allowed-breaking-changes.txt @@ -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 \ No newline at end of file diff --git a/packages/@aws-cdk/aws-autoscaling/lib/volume.ts b/packages/@aws-cdk/aws-autoscaling/lib/volume.ts index b22bb2c98e3f8..cbe08bac7c6ab 100644 --- a/packages/@aws-cdk/aws-autoscaling/lib/volume.ts +++ b/packages/@aws-cdk/aws-autoscaling/lib/volume.ts @@ -182,11 +182,6 @@ export enum EbsDeviceVolumeType { */ IO1 = 'io1', - /** - * Provisioned IOPS SSD - IO2 - */ - IO2 = 'io2', - /** * General Purpose SSD - GP2 */