aws-cloudformation / aws-cloudformation-resource-providers-rds

The CloudFormation Resource Provider Package For Amazon Relational Database Service
https://aws.amazon.com/rds/
Apache License 2.0
26 stars 42 forks source link

DBClusterParameterGroupName not detected in Fast Clone of AWS::RDS::DBCluster #527

Open rupertbg opened 3 months ago

rupertbg commented 3 months ago

When cloning an RDS Aurora MySQL cluster from one account to another that is using a customer parameter group name Cloudformation omits the Parameter Groups that are provided in the template. The following error occurs.

Resource handler returned message: "The cluster parameter group name is required when the source cluster uses a custom parameter group.

The error is InvalidParameterCombinationException because the parameter group settings from the template are not handed to the RDS service.

To fix this the Cloudformation service would need to provide the Parameter Group Name settings set in the AWS::RDS::DBCluster resource to the RDS API call for RestoreDBClusterToPointInTime.