Describe the bug
since 2.245, there is now a regression when using the basic tutorial for new rds.DatabaseCluster(this, 'Cluster', {}...
toCloudFormation is enumerating over deprecated properties, causing a warning every time we synth.
While synthesizing MyStage/Database/Aurora/Cluster/writer/Resource: aws-cdk-lib.aws_rds.CfnDBInstance#tdeCredentialArn is deprecated.
this property has been deprecated
This API will be removed in the next major release.
--- resource created at ---
--- problem discovered at ---
at get cfnProperties (/Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/aws-rds/lib/rds.generated.js:1:109101)
at CfnDBInstance._toCloudFormation (/Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/core/lib/cfn-resource.js:1:7641)
at /Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/core/lib/private/refs.js:1:5150
at findTokens (/Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/core/lib/private/resolve.js:1:4214)
at findAllReferences (/Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/core/lib/private/refs.js:1:5127)
at resolveReferences (/Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/core/lib/private/refs.js:1:1666)
at prepareApp (/Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/core/lib/private/prepare-app.js:1:928)
at synthesize (/Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/core/lib/private/synthesis.js:1:1997)
at AppsStage.synth (/Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/core/lib/stage.js:1:3157)
at synthNestedAssemblies (/Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/core/lib/private/synthesis.js:2:2083) {
name: 'DeprecationError'
Regression Issue
Last Known Working CDK Library Version
No response
Expected Behavior
It should not throw warnings
Current Behavior
While synthesizing MyStage/Database/Aurora/Cluster/writer/Resource: aws-cdk-lib.aws_rds.CfnDBInstance#tdeCredentialArn is deprecated.
this property has been deprecated
This API will be removed in the next major release.
--- resource created at ---
--- problem discovered at ---
at get cfnProperties (/Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/aws-rds/lib/rds.generated.js:1:109101)
at CfnDBInstance._toCloudFormation (/Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/core/lib/cfn-resource.js:1:7641)
at /Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/core/lib/private/refs.js:1:5150
at findTokens (/Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/core/lib/private/resolve.js:1:4214)
at findAllReferences (/Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/core/lib/private/refs.js:1:5127)
at resolveReferences (/Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/core/lib/private/refs.js:1:1666)
at prepareApp (/Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/core/lib/private/prepare-app.js:1:928)
at synthesize (/Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/core/lib/private/synthesis.js:1:1997)
at AppsStage.synth (/Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/core/lib/stage.js:1:3157)
at synthNestedAssemblies (/Users/myuser/dev-ghec/axsp-aws/node_modules/.pnpm/aws-cdk-lib@2.245.0_constructs@10.6.0/node_modules/aws-cdk-lib/core/lib/private/synthesis.js:2:2083) {
name: 'DeprecationError'
Reproduction Steps
Create an RDS serverless construct just following basic tutorials:
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_rds-readme.html
Possible Solution
No response
Additional Information/Context
No response
AWS CDK Library version (aws-cdk-lib)
aws-cdk-lib@2.245.0
AWS CDK CLI version
2.1114.1 (build 9fa6132)
Node.js Version
v24.13.1
OS
Darwin (MacOS)
Language
TypeScript
Language Version
No response
Other information
No response
Describe the bug
since 2.245, there is now a regression when using the basic tutorial for new rds.DatabaseCluster(this, 'Cluster', {}...
toCloudFormation is enumerating over deprecated properties, causing a warning every time we synth.
Regression Issue
Last Known Working CDK Library Version
No response
Expected Behavior
It should not throw warnings
Current Behavior
Reproduction Steps
Create an RDS serverless construct just following basic tutorials:
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_rds-readme.html
Possible Solution
No response
Additional Information/Context
No response
AWS CDK Library version (aws-cdk-lib)
aws-cdk-lib@2.245.0
AWS CDK CLI version
2.1114.1 (build 9fa6132)
Node.js Version
v24.13.1
OS
Darwin (MacOS)
Language
TypeScript
Language Version
No response
Other information
No response