-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EC2: EC2.Volume.throughput does not get passed on into CFN #24107
EC2: EC2.Volume.throughput does not get passed on into CFN #24107
Comments
You're right, we aren't setting this when we create the L1 resource aws-cdk/packages/@aws-cdk/aws-ec2/lib/volume.ts Lines 614 to 624 in fb67c77
The only thing the Before we support setting the throughput, you can use an escape hatch to override the template with this property |
## EC2.Volume.throughput does not get passed on into CFN The throughput parameter of the Ec2.Volume class (L2 Construct) was not set to the CfnVolume parameter as described in #24107 Fixed it so that the value is set. Closes #24107 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Describe the bug
I'm using
EC2.Volume
to create a GP3-Volume and I specify thethroughput
explicitly. The value does not make it to the CFN script and hence the resulting volume has the default througput of 125.This is the CDK:
The resulting CFN doesn't say anything about throughput:
Expected Behavior
The resulting CFN should include a
Throughput
setting, the resulting Volume should have the correct througput.Current Behavior
The resulting CFN does not include a
Throughput
setting, the resulting Volume has the default througput of 125.Reproduction Steps
cdk synth
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.64.0
Framework Version
No response
Node.js Version
v16.19.0
OS
MacOS (Ventura)
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: