I am bundling lambda functions and lambda layers code using Docker. Like this:
code = Code.from_asset(
path='/path/to/code',
asset_hash_type=AssetHashType.BUNDLE,
bundling=BundlingOptions(
image=BundlingDockerImage.from_registry('python:3.9'),
command=['bundling-command']
)
)
However, to speed-up DEV deployments, I would like to skip bundling, because in certain scenarios I know that I did not change the lambda function or lambda layer code.
Is there some kind of explicit flag? E.g.
cdk deploy * --skip-bundle
Thank you!