-
Notifications
You must be signed in to change notification settings - Fork 4.5k
CDK CLI: Tag not resolved for AsyncFunction value #32160
Copy link
Copy link
Closed
Labels
@aws-cdk/coreRelated to core CDK functionalityRelated to core CDK functionalitybugThis issue is a bug.This issue is a bug.needs-reproductionThis issue needs reproduction.This issue needs reproduction.p0sdk-v3-upgradeTag issues that are associated to SDK V3 upgrade. Not limited to CR usage of SDK only.Tag issues that are associated to SDK V3 upgrade. Not limited to CR usage of SDK only.
Description
Describe the bug
Running cdk diff in version 2.167.1 is producing an error when trying to generate a change set, and is falling back to using a diff on template differences. This worked fin in 2.160.0.
Regression Issue
Confirmed Regression
Last Known Working CDK Version
2.166.0
Expected Behavior
change sets to be created and used for the cdk diff
Current Behavior
Retrieved account ID xxxxxxxxxxxx from disk cache
Error: Tag not resolved for AsyncFunction value
at getTagObject (/usr/local/lib/node_modules/aws-cdk/lib/index.js:579:21602)
at stringify5 (/usr/local/lib/node_modules/aws-cdk/lib/index.js:579:22499)
at _Pair.toString (/usr/local/lib/node_modules/aws-cdk/lib/index.js:566:452)
at stringify5 (/usr/local/lib/node_modules/aws-cdk/lib/index.js:579:22445)
at /usr/local/lib/node_modules/aws-cdk/lib/index.js:561:3712
at Array.reduce (<anonymous>)
at YAMLMap2.toString (/usr/local/lib/node_modules/aws-cdk/lib/index.js:561:3202)
at YAMLMap2.toString (/usr/local/lib/node_modules/aws-cdk/lib/index.js:568:3602)
at stringify5 (/usr/local/lib/node_modules/aws-cdk/lib/index.js:579:22842)
at _Pair.toString (/usr/local/lib/node_modules/aws-cdk/lib/index.js:566:452)
Could not create a change set, will base the diff on template differences (run again with -v to see the reason)Reproduction Steps
I'm just running cdk --strict --verbose --no-version-reporting diff
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.167.1
Framework Version
No response
Node.js Version
22.11.0
OS
ubuntu
Language
Java
Language Version
Java (17)
Other information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/coreRelated to core CDK functionalityRelated to core CDK functionalitybugThis issue is a bug.This issue is a bug.needs-reproductionThis issue needs reproduction.This issue needs reproduction.p0sdk-v3-upgradeTag issues that are associated to SDK V3 upgrade. Not limited to CR usage of SDK only.Tag issues that are associated to SDK V3 upgrade. Not limited to CR usage of SDK only.