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 Nov 3, 2024
1 parent 23224d0 commit 7261444
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 @@ -1236,6 +1236,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 7261444

Please sign in to comment.