@flit/publish-cdk-assets
v1.2.0
Published
A tool to publish CDK assets to S3 from manifest.json
Downloads
147
Readme
This package exposes a CLI tool to upload CDK emitted assets to S3. It is intended to be used in automated deployment environments to publish the CDK assets before deploying the Cloud Formation Stack.
Warning: This package currently DOES NOT support Docker assets
Usage
Installation
The package is available on NPM and can be installed using your package manager of choice:
npm i -g @flit/publish-cdk-assets
pnpm add -g @flit/publish-cdk-assets
yarn global add @flit/publish-cdk-assets
Basic Usage
Important: Assets in nested cloud assembly manifest ARE included
Important: Ensure that the account running this command has write privileges for the S3 buckets the assets are published to
Publish
The root command will publish the CDK assets listed in the manifest.json
at the given path
pca ./path/to/manifest/
Region override
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"
List
The list function can be used for testing and debugging, to show what CDK assets the CLI would publish to S3 given the path to the manifest
pca ls ./path/to/manifest/