Provides CDK CLI commands synth
, deploy
and destroy
with basic and default options.
This plugin removes the need to manage SHELL commands to perform basic CDK CLI commands.
Use pip to install the package: pip install poetry-cdk-plugin
From a valid CDK codebase root directory, where Poetry is used, type:
-
poetry cdk synth
: to run cdk synth of your CDK application -
poetry cdk deploy
: to run cdk deploy of your CDK application (without approval) -
poetry cdk destroy
: to run cdk destroy of your CDK application (with force option)
- Add a
cdk lambda package
command to provide a ZIP for CDK Lambda construct and itsfrom_asset
feature