@flit/publish-cdk-assets
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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/

Readme

Keywords

Package Sidebar

Install

npm i @flit/publish-cdk-assets

Weekly Downloads

87

Version

1.1.0

License

Apache-2.0

Unpacked Size

36.9 kB

Total Files

13

Last publish

Collaborators

  • p-mercury