aws / aws-cdk

The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
https://aws.amazon.com/cdk
Apache License 2.0
11.33k stars 3.76k forks source link

(RDS): AuroraClusterInstance implement availabilityZone for provisioned instance type #30618

Open a-skuba opened 1 week ago

a-skuba commented 1 week ago

Describe the feature

AuroraClusterInstance and ProvisionedClusterInstanceProps do not expose availability zone.

Use Case

We want to create multiple readers in specific availability zones. We want to control, that each availability zone has at least one reader.

Proposed Solution

Add availabilityZone property to ProvisionedClusterInstanceProps and use it in AuroraClusterInstance when using ClusterInstance.provisioned() method.

Other Information

availabilityZone should be only used for InstanceType.PROVISIONED.

Acknowledgements

CDK version used

2.147.0

Environment details (OS name and version, etc.)

Any

khushail commented 6 days ago

@a-skuba ,Thanks for reaching out and submission of the FR.