Skip to content

(rds): set allocatedStorage with DatabaseInstanceReadReplica #17083

@peterwoodworth

Description

@peterwoodworth

Description

When setting iops on a DatabaseInstanceReadReplica, there should be an easy way to also set allocatedStorage so that we can avoid CloudFormation deploy-time error

You must specify both the storage size and iops when modifying the storage size or iops on a DB instance that has iops.

Currently the only way to set storage size is with escape hatches

Use Case

See #16934 for full details

Proposed Solution

CDK should feature a synth-time check for both values in addition to supporting the allocatedStorage prop with either an error message or warning. The deploy time necessary to debug this issue is frustratingly long

Other information

No response

Acknowledge

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Metadata

Metadata

Assignees

Labels

@aws-cdk/aws-rdsRelated to Amazon Relational Databaseeffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.feature/coverage-gapGaps in CloudFormation coverage by L2 constructsgood first issueRelated to contributions. See CONTRIBUTING.mdp2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions