-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[ec2] add gp3 support to EbsDeviceVolumeType #12020
Copy link
Copy link
Closed
Labels
closing-soonThis issue will automatically close in 4 days unless further comments are made.This issue will automatically close in 4 days unless further comments are made.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.feature/coverage-gapGaps in CloudFormation coverage by L2 constructsGaps in CloudFormation coverage by L2 constructsgood first issueRelated to contributions. See CONTRIBUTING.mdRelated to contributions. See CONTRIBUTING.mdp2
Description
The newly released gp3 volumes are supported by Cloudformation. But aws_cdk.aws_ec2.EbsDeviceVolumeType does not support it yet.
Ref: https://docs.aws.amazon.com/cdk/api/latest/python/aws_cdk.aws_ec2/EbsDeviceVolumeType.html#aws_cdk.aws_ec2.EbsDeviceVolumeType
Work-around:
perf_server = ebs_gp3_perf_server.node.default_child
# Assuming the gp3 volume is the first device in the list, accessed by index '0'
perf_server.add_property_override("BlockDeviceMappings.0.Ebs.VolumeType", "gp3")Cdk gives you a warning
[Warning at /stack/Ec2Server] iops will be ignored without volumeType: EbsDeviceVolumeType.IO1 But gp3 allows your to have provisioned IOPS
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
closing-soonThis issue will automatically close in 4 days unless further comments are made.This issue will automatically close in 4 days unless further comments are made.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.feature/coverage-gapGaps in CloudFormation coverage by L2 constructsGaps in CloudFormation coverage by L2 constructsgood first issueRelated to contributions. See CONTRIBUTING.mdRelated to contributions. See CONTRIBUTING.mdp2