From a1a515171df6f26e1d3fad96317ed885d34fb421 Mon Sep 17 00:00:00 2001 From: Pat Myron Date: Tue, 3 Nov 2020 13:53:51 -0800 Subject: [PATCH] AWS::ImageBuilder::ImageRecipe.EbsInstanceBlockDeviceSpecification.VolumeType AllowedValues expansion (io2) https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification-volumetype could be sourced automatically from botocore: https://github.com/aws-cloudformation/cfn-python-lint/pull/1682/ --- troposphere/validators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/troposphere/validators.py b/troposphere/validators.py index 3f04be568..93fca7a71 100644 --- a/troposphere/validators.py +++ b/troposphere/validators.py @@ -651,7 +651,7 @@ def schedule_pipelineexecutionstartcondition(startcondition): def ebsinstanceblockdevicespecification_volume_type(type): - valid_types = ['gp2', 'io1', 'sc1', 'st1', 'standard'] + valid_types = ['gp2', 'io1', 'io2', 'sc1', 'st1', 'standard'] if type not in valid_types: raise ValueError( 'VolumeType must be one of: "%s"' % (