chore(ec2): increase gp3 ebs volume iops and throughput limits#36074
chore(ec2): increase gp3 ebs volume iops and throughput limits#36074mergify[bot] merged 4 commits intoaws:mainfrom
Conversation
|
Exemption Request This PR updates hardcoded validation limits for GP3 EBS volumes to match AWS's |
packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/integ.volume-gp3-max-limits.ts
Outdated
Show resolved
Hide resolved
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
…ec2-gp3-volume-limit-updates
Pull request has been modified.
|
Hi @ozelalisen and @pahud , Please review this PR. Thanks |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
Comments on closed issues and PRs are hard for our team to see. |
Issue
Closes #36014
Reason for this change
AWS recently announced increased limits for GP3 EBS volumes:
The CDK currently has hardcoded validation limits that prevent users from configuring GP3 volumes with these new higher limits, even though AWS now supports them.
Description of changes
Updated hardcoded validation limits for GP3 EBS volumes across the CDK codebase:
Core validation updates:
packages/aws-cdk-lib/aws-ec2/lib/volume.ts: Updated IOPS range (16,000 → 80,000) and throughput range (1,000 → 2,000)packages/aws-cdk-lib/aws-ec2/lib/private/ebs-util.ts: Updated throughput validation (1,000 → 2,000)packages/aws-cdk-lib/aws-ecs/lib/base/service-managed-volume.ts: Updated IOPS and throughput limits for ECS service-managed volumespackages/aws-cdk-lib/aws-autoscaling/lib/auto-scaling-group.ts: Updated throughput range for Auto Scaling Group block devicespackages/aws-cdk-lib/aws-autoscaling/lib/volume.ts: Updated JSDoc commentsDocumentation updates:
packages/aws-cdk-lib/aws-ec2/README.md: Updated throughput range documentationTest updates:
volume.test.ts,launch-template.test.ts,fargate-service.test.ts, andauto-scaling-group.test.tsto reflect new limitsinteg.volume-gp3-max-limits.tsto validate the new maximum limitsDescribe any new or updated permissions being added
No new permissions required. This change only updates validation limits and does not introduce new functionality or IAM permissions.
Description of how you validated changes
Unit Tests:
Integration Test:
integ.volume-gp3-max-limits.tsthat tests:Manual Verification:
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license