(aws-cdk): cdk diff always fallback to no change-set diff #28753
Labels
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
effort/medium
Medium work item – several days of effort
p2
package/tools
Related to AWS CDK Tools or CLI
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
We are migrating cloudformation template to CDK. In our CDK stack, we have included a cloudformation template. When we run diff, it shows warning
I tried to specify parameters with
--parameters XXX=xxx,YYY=yyy,ZZZ=zzz
flag. But no luck. As I know,cdk deploy
has this flag. How can we specify incdk diff
Expected Behavior
cdk diff stackName --parameters XXX=xxx,YYY=yyy,ZZZ=zzz
will create a changeset in AWS Cloudformation and display the difference. Then remove the changeset.Current Behavior
Just show the difference against the current included cloudformation template.
Reproduction Steps
cdk diff stackName --parameters XXX=xxx,YYY=yyy,ZZZ=zzz
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.121.1
Framework Version
No response
Node.js Version
20
OS
ubuntu
Language
TypeScript
Language Version
5.3.3
Other information
No response
The text was updated successfully, but these errors were encountered: