-
Notifications
You must be signed in to change notification settings - Fork 4k
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
skip uploading assets when there is no diff #20716
Comments
|
@peterwoodworth #18045 seems completely unrelated to this. That is about |
You're right - I'm not sure what I read initially |
Has been implemented already |
|
Describe the feature
cdk deploy
should detect whether this is actually a diff for the stack in question before uploading the assets for it. If there isn't then it should skip uploading them.Use Case
We follow IaC, which means that we always run
cdk deploy
for all stacks on every build. Consequently, often times there are no changes at all to deploy for a certain stack (or several stacks). But we've noticed that cdk does not detect this until after it uploads the assets to the staging bucket, which wastes time.Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.21.1 (build a6ee543)
Environment details (OS name and version, etc.)
Alpine 3.15, Python 3.9.12
The text was updated successfully, but these errors were encountered: