Replies: 1 comment
-
Hi @nomike , thanks for getting request for the Looks like, currently we don't have any other feature that could customise the difference you want to see in the output for the command. However it might be a good feature request if you would like to create one with elaborating your use case and sharing details. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I maintain a CI/CD pipeline on a gitlab server which runs
cdk diff`` on a quite large repository. The idea is, that people instantly see what effect their code change has. Our code is written as python classes for each resource type (e.g. Route53.AliasRecord, ClourFront.Distribution, etc.) and stacks are created by creating
.json` files with parameters in it.Though everyone using the repository has some level of tech-savviness, not all of them are familiar with programming or the intricacies of AWS and most people just work with the
.json
files, whereas the inner workings are maintained by us, the CloudOps team.I thus want the diff to only show relevant changes.
I've posted a feature request ages ago which resulted in someone more familiar with the aws-cdk source code than I am adding a "--quit" flag (thanks a lot for that), which was implemented after a few months, It had a major bug, which was fixed a year after I filed a bug report, and now that it is finally working, it no longer helps me that much, as aws-cdk outputs a lot more to the terminal nowadays.
So the diff currently looks like this:
I kind a get why these "InstallLatestAwsSdk was not specified" warnings are there.
I never understood what value those "No routeTableId was provided to the subnet at 'euw1-pr-customer-api-tmp-alb-alb/subnet-0'. Attempting to read its .routeTable.routeTableId will return null/undefined." warnings try to tell me.
I didn't provide a routeTableId. So if I try to read the routeTableId it will be undefined. Sounds a bit like Captain Obvious.
And then there's all the "start: Building", "success: Built", "start: Publishing", "success: published" and "Hold on while we create a read-only change set" messages.
I fear that important stuff will drown in this level of verbosity and would like a way to control that level.
Is there any way I can get rid of at list some of these messages?
--no-change-set
option, but I'm intentionally not using it. So I'd like to suppress that message.Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions