Sha256: 1f974cdec34c60c88b3853215a38b62e2d3aaf892e3062d7cf6bdfda7bba43b4

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

## Examples

Provided that you are in a lono project and have a `my-stack` lono template definition.  To create a stack you can run:

  lono cfn create my-stack

The above command will generate and use the template in `output/templates/my-stack.json` and parameters in `output/params/my-stack.txt`.  By [convention]({% link _docs/conventions.md %}), the template defaults to the name of the stack.  In turn, the params defaults to the name of the template.

Here are examples of overriding the template and params name conventions.

  lono cfn create my-stack --template different1

The template used is `output/templates/different1.json` and the parameters used is `output/params/different1.json`.

  lono cfn create my-stack --params different2

The template used is `output/templates/my-stack.json` and the parameters used is `output/params/different2.json`.

  lono cfn create my-stack --template different3 --params different4

The template used is `output/templates/different3.json` and the parameters used is `output/params/different4.json`.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lono-4.0.1 lib/lono/help/cfn/create.md