1.0.2 • Published 2 years ago

publish-cdk-assets v1.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

publish-cdk-assets

This package exposes a CLI tool for uploading CDK emitted assets to S3. It's intended to be used in automated deployment scenarios to publish the CDK assets before deploying the Cloud Formation stack.

Warning: This package is EXPERIMENTAL and might undergo breaking changes

Warning: This package currently does not support Docker assets

Usage

Installation

npm install -g publish-cdk-assets

Basic Usage

Important: Assets in nested cloud assembly manifest ARE be included

The list function can be used for testing to show what CDK assets the CLI will be publish to S3 given the path to the manifest

pca ls ./path/to/manifest/

The root command will publish the CDK assets listed in the manifest.json at the given path

pca ./path/to/manifest/

By default the current region is taken from the AWS_REGION environmental variable but can be changed using the -r option

pca ./path/to/manifest/ -r "eu-central-1"