(DockerImage Build): Bundling is Not Skipped During List or When Excluded by --exclusively
#19615
Labels
bug
This issue is a bug.
duplicate
This issue is a duplicate.
package/tools
Related to AWS CDK Tools or CLI
What is the problem?
When running
cdk ls
orcdk synth my-specific-stack --exclusively
, stacks that useDockerImage.from_build
are bundled, which can add a lot of time for complex docker builds, even if cached.Reproduction Steps
Run:
cdk ls
cdk synth stack-one --exclusively --quiet
app.py
:docker/Dockerfile
:What did you expect to happen?
I expected assets to not be bundled during an
ls
and when not included in asynth
that excludes the stack with the resource via--exclusively
.What actually happened?
Docker output is clearly seen in the console during an
ls
andsynth
that excludes it.CDK CLI Version
2.18.0
Framework Version
No response
Node.js Version
v16.3.0
OS
macOS 11.6.5
Language
Python
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: