0.1.8 • Published 5 years ago

cfn-package v0.1.8

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

cfn-package

Package template files of CloudFormation.

Installation

npm i -g cfn-package

CLI

#
# Package and upload local artifacts.
#
$ cfn-package --template-file path/to/template \
              --output-template-file path/to/output \
              --s3-bucket bucket-name \
              --s3-prefix prefix

#
# Package and deploy.
#
$ cfn-package --template-file path/to/template \
              --s3-bucket bucket-name \
              --s3-prefix prefix \
              --deploy \
              --stack-name MyStack \
              --capabilities CAPABILITY_AUTO_EXPAND,CAPABILITY_IAM

#
# Update functions directly in a existing stack of the CloudFormation.
# In this case, Both --update-functions and --stack-name must be specified.
#
$ cfn-package --template-file path/to/template \
              --s3-bucket bucket-name \
              --s3-prefix prefix \
              --update-functions --stack-name MyStack

See aws cloudformation package for descriptions of options.

If a local artifact of a template file is a project directory of node.js, the cfn-package command packs the directory with using npm-lambda-pack, and uploads the package that is packed for production.

License

MIT

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago