Sha256: 8e148d4160f182a68cd36aab6aaebdaf1a89ef494339b92b2b064788481a0b31

Contents?: true

Size: 1.13 KB

Versions: 60

Compression:

Stored size: 1.13 KB

Contents

## Examples

Provided that you are in a lono project and have a `demo` lono blueprint that contains a `demo` template.  To create a stack you can run:

    lono cfn create demo

The above command will generate:

* template:   output/demo/templates/demo.yml
* parameters: output/demo/params/development.json

By [convention]({% link _docs/conventions/cli.md %}), the blueprint name is the same as the stack name. In turn, template name is the same as the blueprint name. Lastly, the param name will default to the template name.

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

    lono cfn create demo --template different1

The template used is `app/templates/different1.rb` and the parameters used is `configs/demo/params/development/demo/different1.txt`.

    lono cfn create demo --param different2

The template used is `app/templates/demo.rb` and the parameters used is `configs/demo/params/development/demo/different2.json`.

    lono cfn create demo --template different3 --param different4

The template used is `app/templates/different3.rb` and the parameters used is `configs/demo/params/different3/different4.json`.

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
lono-7.5.2 lib/lono/help/cfn/create.md
lono-7.5.1 lib/lono/help/cfn/create.md
lono-7.5.0 lib/lono/help/cfn/create.md
lono-7.4.11 lib/lono/help/cfn/create.md
lono-7.4.10 lib/lono/help/cfn/create.md
lono-7.4.9 lib/lono/help/cfn/create.md
lono-7.4.8 lib/lono/help/cfn/create.md
lono-7.4.7 lib/lono/help/cfn/create.md
lono-7.4.6 lib/lono/help/cfn/create.md
lono-7.4.5 lib/lono/help/cfn/create.md
lono-7.4.4 lib/lono/help/cfn/create.md
lono-7.4.3 lib/lono/help/cfn/create.md
lono-7.4.2 lib/lono/help/cfn/create.md
lono-7.4.1 lib/lono/help/cfn/create.md
lono-7.4.0 lib/lono/help/cfn/create.md
lono-7.3.2 lib/lono/help/cfn/create.md
lono-7.3.1 lib/lono/help/cfn/create.md
lono-7.3.0 lib/lono/help/cfn/create.md
lono-7.2.3 lib/lono/help/cfn/create.md
lono-7.2.2 lib/lono/help/cfn/create.md