DBClusterParameterGroup not found: default.aurora5.6
See original GitHub issueDescribe the bug
My DatabaseCluster ist configured with engine: rds.DatabaseClusterEngine.AuroraMysql
and no custom ClusterParameterGroup
is configured.
The following Exception is thrown:
DBClusterParameterGroup not found: default.aurora5.6 (Service: AmazonRDS; Status Code: 404; Error Code: DBClusterParameterGroupNotFound;
To Reproduce
new rds.DatabaseCluster(this, 'prodRdsCuster', {
clusterIdentifier: 'rds-prod',
engine: rds.DatabaseClusterEngine.AuroraMysql,
instances: 1,
port: 3306,
defaultDatabaseName: 'app',
masterUser: {
username: 'admin'
},
instanceProps: {
instanceType: new ec2.InstanceTypePair(ec2.InstanceClass.Burstable2, ec2.InstanceSize.Medium),
securityGroup: rdsSecurityGroup,
vpc: props.vpc,
vpcSubnets: {
subnetType: ec2.SubnetType.Isolated,
}
},
backup: {
preferredWindow: '02:00-03:00',
retentionDays: 21
},
preferredMaintenanceWindow: 'Sun:03:00-Sun:04:00'
});
cdk deploy
Expected behavior Successful deployment
Version:
- OS: MacOS Moave
- Programming Language: TypeScript
- CDK Version: 0.31.0
Workaround Create a ClusterParameterGroup with explicit family setting:
const rdsClusterPrameterGroup = new ClusterParameterGroup(this, 'rdsClusterPrameterGroup', {
description: 'MySQL 5.7',
family: 'aurora-mysql5.7'
}
and use it in your cluster with
parameterGroup: rdsClusterPrameterGroup
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:7 (3 by maintainers)
Top Results From Across the Web
awslabs/aws-cdk - Gitter
I guess whatever the default one is - I may have added some subnets to it ... DBClusterParameterGroup not found: default.aurora5.6 (Service: AmazonRDS; ......
Read more >AWS::RDS::DBClusterParameterGroup - AWS CloudFormation
The AWS::RDS::DBClusterParameterGroup resource creates a new Amazon RDS DB cluster parameter group. For information about configuring parameters for Amazon ...
Read more >describe-db-cluster-parameter-groups - AWS
Returns a list of DBClusterParameterGroup descriptions. If a DBClusterParameterGroupName parameter is specified, the list will contain only the description ...
Read more >aws_rds_cluster_parameter_gro...
Provides an RDS DB cluster parameter group resource. ... "rds-cluster-pg" family = "aurora5.6" description = "RDS default cluster parameter group" parameter ...
Read more >Does importing an AWS RDS Aurora 5.7 work in v0.11.7?
aurora-mysql5.7; the default parameter group for Aurora MySQL 1.x continues to be default.aurora5.6. The DB cluster parameter group family name ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also already experienced this.
I think this is a bug in RDS. The problem is that the
default.xxx
parameter groups (created by AWS) are created only after creating a instance/cluster in the console or using the API directly. So if you never created a instance/cluster this way in a region and you try to deploy with CloudFormation it will not find thedefault.xxx
parameter group.@jogold Incorrect. I just launched a cluster with a default parameter group
Note: The
engineVersion
props comes from my PR https://github.com/awslabs/aws-cdk/pull/2698