poetry-cdk-plugin

CDK commands for Poetry


Keywords
CDK, poetry, plugin, poetry-python
License
GPL-3.0
Install
pip install poetry-cdk-plugin==0.1.6

Documentation

PyPI Code style: black

Poetry CDK plugin

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.

Prerequisites

Installation

Use pip to install the package: pip install poetry-cdk-plugin

Usage

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)

Roadmap

  • Add a cdk lambda package command to provide a ZIP for CDK Lambda construct and its from_asset feature