(cli): Could not create a change set ... Template format error: At least one Resources member must be defined #29233
Labels
bug
This issue is a bug.
cli
Issues related to the CDK CLI
effort/medium
Medium work item – several days of effort
p1
package/tools
Related to AWS CDK Tools or CLI
Describe the bug
I have a couple of stacks where the change set mechanism doesn't seem to work.
Expected Behavior
No changes should be observed in this stack. Also, the changeset should work.
Current Behavior
It hints at running the command with
-v
, and there I can see the following logged:The "template differences" fallback shows:
This also always marks the stack as having diffs, even though when it's deployed, diffs don't exist.
Reproduction Steps
No repro, but I hope the logging above is relevant to see what
Resources
member is not defined and why.Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.130.0
Framework Version
No response
Node.js Version
18.16.1
OS
macOS
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: