-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(aws-cdk): cdk diff always fallback to no change-set diff #28753
Comments
Can you share a minimal CFN template that reproduces this issue? I am guessing your template may not have those parameters defined but I am not 100% sure. |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
It would be great if we could pass an option to This would be particularly useful to catch errors returned by change-set level Hooks or by transform macros early, ideally before deployment. As a use case, we have a Macro+Transform that performs an online lookup for a group in Identity Center. If the group doesn't exist the transform will report an error but that ends up not being displayed when using Sample output:
Sample output with verbose enabled
|
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: