Skip to content

Commit

Permalink
set cluster secret when using manageMasterUserPassword
Browse files Browse the repository at this point in the history
  • Loading branch information
epoctic committed Dec 10, 2024
1 parent c9df696 commit 73e7421
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/aws-cdk-lib/aws-rds/lib/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1322,6 +1322,7 @@ export class DatabaseCluster extends DatabaseClusterNew {

this.clusterIdentifier = cluster.ref;
this.clusterResourceIdentifier = cluster.attrDbClusterResourceId;
this.secret = secretsmanager.Secret.fromSecretCompleteArn(this, 'DbClusterSecret', cluster.attrMasterUserSecretSecretArn);
}

// create a number token that represents the port of the cluster
Expand Down

0 comments on commit 73e7421

Please sign in to comment.