Skip to content

Commit 0c983ad

Browse files
authored
fix(secretsmanager): secret rotation uses old application versions (#19490)
Closes #19487 ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](../CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](../CONTRIBUTING.md/#adding-new-unconventional-dependencies) *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent eba6052 commit 0c983ad

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

packages/@aws-cdk/aws-docdb/test/integ.cluster-rotation.lit.expected.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@
818818
"DatabaseRotationSingleUserSARMapping9AEB3E55": {
819819
"aws": {
820820
"applicationId": "arn:aws:serverlessrepo:us-east-1:297356227824:applications/SecretsManagerMongoDBRotationSingleUser",
821-
"semanticVersion": "1.1.60"
821+
"semanticVersion": "1.1.225"
822822
},
823823
"aws-cn": {
824824
"applicationId": "arn:aws-cn:serverlessrepo:cn-north-1:193023089310:applications/SecretsManagerMongoDBRotationSingleUser",

packages/@aws-cdk/aws-rds/test/integ.cluster-rotation.lit.expected.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@
841841
"DatabaseRotationSingleUserSARMapping9AEB3E55": {
842842
"aws": {
843843
"applicationId": "arn:aws:serverlessrepo:us-east-1:297356227824:applications/SecretsManagerRDSMySQLRotationSingleUser",
844-
"semanticVersion": "1.1.60"
844+
"semanticVersion": "1.1.225"
845845
},
846846
"aws-cn": {
847847
"applicationId": "arn:aws-cn:serverlessrepo:cn-north-1:193023089310:applications/SecretsManagerRDSMySQLRotationSingleUser",

packages/@aws-cdk/aws-rds/test/integ.instance.lit.expected.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1131,7 +1131,7 @@
11311131
"InstanceRotationSingleUserSARMappingFEA0C86E": {
11321132
"aws": {
11331133
"applicationId": "arn:aws:serverlessrepo:us-east-1:297356227824:applications/SecretsManagerRDSOracleRotationSingleUser",
1134-
"semanticVersion": "1.1.60"
1134+
"semanticVersion": "1.1.225"
11351135
},
11361136
"aws-cn": {
11371137
"applicationId": "arn:aws-cn:serverlessrepo:cn-north-1:193023089310:applications/SecretsManagerRDSOracleRotationSingleUser",

packages/@aws-cdk/aws-secretsmanager/lib/secret-rotation.ts

+14-14
Original file line numberDiff line numberDiff line change
@@ -28,84 +28,84 @@ export class SecretRotationApplication {
2828
/**
2929
* Conducts an AWS SecretsManager secret rotation for RDS MariaDB using the single user rotation scheme
3030
*/
31-
public static readonly MARIADB_ROTATION_SINGLE_USER = new SecretRotationApplication('SecretsManagerRDSMariaDBRotationSingleUser', '1.1.60');
31+
public static readonly MARIADB_ROTATION_SINGLE_USER = new SecretRotationApplication('SecretsManagerRDSMariaDBRotationSingleUser', '1.1.225');
3232

3333
/**
3434
* Conducts an AWS SecretsManager secret rotation for RDS MariaDB using the multi user rotation scheme
3535
*/
36-
public static readonly MARIADB_ROTATION_MULTI_USER = new SecretRotationApplication('SecretsManagerRDSMariaDBRotationMultiUser', '1.1.60', {
36+
public static readonly MARIADB_ROTATION_MULTI_USER = new SecretRotationApplication('SecretsManagerRDSMariaDBRotationMultiUser', '1.1.225', {
3737
isMultiUser: true,
3838
});
3939

4040
/**
4141
* Conducts an AWS SecretsManager secret rotation for RDS MySQL using the single user rotation scheme
4242
*/
43-
public static readonly MYSQL_ROTATION_SINGLE_USER = new SecretRotationApplication('SecretsManagerRDSMySQLRotationSingleUser', '1.1.60');
43+
public static readonly MYSQL_ROTATION_SINGLE_USER = new SecretRotationApplication('SecretsManagerRDSMySQLRotationSingleUser', '1.1.225');
4444

4545
/**
4646
* Conducts an AWS SecretsManager secret rotation for RDS MySQL using the multi user rotation scheme
4747
*/
48-
public static readonly MYSQL_ROTATION_MULTI_USER = new SecretRotationApplication('SecretsManagerRDSMySQLRotationMultiUser', '1.1.60', {
48+
public static readonly MYSQL_ROTATION_MULTI_USER = new SecretRotationApplication('SecretsManagerRDSMySQLRotationMultiUser', '1.1.225', {
4949
isMultiUser: true,
5050
});
5151

5252
/**
5353
* Conducts an AWS SecretsManager secret rotation for RDS Oracle using the single user rotation scheme
5454
*/
55-
public static readonly ORACLE_ROTATION_SINGLE_USER = new SecretRotationApplication('SecretsManagerRDSOracleRotationSingleUser', '1.1.60');
55+
public static readonly ORACLE_ROTATION_SINGLE_USER = new SecretRotationApplication('SecretsManagerRDSOracleRotationSingleUser', '1.1.225');
5656

5757
/**
5858
* Conducts an AWS SecretsManager secret rotation for RDS Oracle using the multi user rotation scheme
5959
*/
60-
public static readonly ORACLE_ROTATION_MULTI_USER = new SecretRotationApplication('SecretsManagerRDSOracleRotationMultiUser', '1.1.60', {
60+
public static readonly ORACLE_ROTATION_MULTI_USER = new SecretRotationApplication('SecretsManagerRDSOracleRotationMultiUser', '1.1.225', {
6161
isMultiUser: true,
6262
});
6363

6464
/**
6565
* Conducts an AWS SecretsManager secret rotation for RDS PostgreSQL using the single user rotation scheme
6666
*/
67-
public static readonly POSTGRES_ROTATION_SINGLE_USER = new SecretRotationApplication('SecretsManagerRDSPostgreSQLRotationSingleUser', '1.1.60');
67+
public static readonly POSTGRES_ROTATION_SINGLE_USER = new SecretRotationApplication('SecretsManagerRDSPostgreSQLRotationSingleUser', '1.1.225');
6868

6969
/**
7070
* Conducts an AWS SecretsManager secret rotation for RDS PostgreSQL using the multi user rotation scheme
7171
*/
72-
public static readonly POSTGRES_ROTATION_MULTI_USER = new SecretRotationApplication('SecretsManagerRDSPostgreSQLRotationMultiUser', '1.1.60', {
72+
public static readonly POSTGRES_ROTATION_MULTI_USER = new SecretRotationApplication('SecretsManagerRDSPostgreSQLRotationMultiUser', '1.1.225', {
7373
isMultiUser: true,
7474
});
7575

7676
/**
7777
* Conducts an AWS SecretsManager secret rotation for RDS SQL Server using the single user rotation scheme
7878
*/
79-
public static readonly SQLSERVER_ROTATION_SINGLE_USER = new SecretRotationApplication('SecretsManagerRDSSQLServerRotationSingleUser', '1.1.60');
79+
public static readonly SQLSERVER_ROTATION_SINGLE_USER = new SecretRotationApplication('SecretsManagerRDSSQLServerRotationSingleUser', '1.1.225');
8080

8181
/**
8282
* Conducts an AWS SecretsManager secret rotation for RDS SQL Server using the multi user rotation scheme
8383
*/
84-
public static readonly SQLSERVER_ROTATION_MULTI_USER = new SecretRotationApplication('SecretsManagerRDSSQLServerRotationMultiUser', '1.1.60', {
84+
public static readonly SQLSERVER_ROTATION_MULTI_USER = new SecretRotationApplication('SecretsManagerRDSSQLServerRotationMultiUser', '1.1.225', {
8585
isMultiUser: true,
8686
});
8787

8888
/**
8989
* Conducts an AWS SecretsManager secret rotation for Amazon Redshift using the single user rotation scheme
9090
*/
91-
public static readonly REDSHIFT_ROTATION_SINGLE_USER = new SecretRotationApplication('SecretsManagerRedshiftRotationSingleUser', '1.1.60');
91+
public static readonly REDSHIFT_ROTATION_SINGLE_USER = new SecretRotationApplication('SecretsManagerRedshiftRotationSingleUser', '1.1.225');
9292

9393
/**
9494
* Conducts an AWS SecretsManager secret rotation for Amazon Redshift using the multi user rotation scheme
9595
*/
96-
public static readonly REDSHIFT_ROTATION_MULTI_USER = new SecretRotationApplication('SecretsManagerRedshiftRotationMultiUser', '1.1.60', {
96+
public static readonly REDSHIFT_ROTATION_MULTI_USER = new SecretRotationApplication('SecretsManagerRedshiftRotationMultiUser', '1.1.225', {
9797
isMultiUser: true,
9898
});
9999

100100
/**
101101
* Conducts an AWS SecretsManager secret rotation for MongoDB using the single user rotation scheme
102102
*/
103-
public static readonly MONGODB_ROTATION_SINGLE_USER = new SecretRotationApplication('SecretsManagerMongoDBRotationSingleUser', '1.1.60');
103+
public static readonly MONGODB_ROTATION_SINGLE_USER = new SecretRotationApplication('SecretsManagerMongoDBRotationSingleUser', '1.1.225');
104104

105105
/**
106106
* Conducts an AWS SecretsManager secret rotation for MongoDB using the multi user rotation scheme
107107
*/
108-
public static readonly MONGODB_ROTATION_MULTI_USER = new SecretRotationApplication('SecretsManagerMongoDBRotationMultiUser', '1.1.60', {
108+
public static readonly MONGODB_ROTATION_MULTI_USER = new SecretRotationApplication('SecretsManagerMongoDBRotationMultiUser', '1.1.225', {
109109
isMultiUser: true,
110110
});
111111

0 commit comments

Comments
 (0)