Sha256: 71671c91fa1579b03468491358875bfe5fc525f8eb4c3cf78a8eb7b0865b0ada

Contents?: true

Size: 963 Bytes

Versions: 29

Compression:

Stored size: 963 Bytes

Contents

The `cfn deploy` command figures out whether or not it should perform a stack create or update. It delegates to `cfn create` or `cfn update`.  This saves you from thinking about it

## 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 deploy demo

The above command will generate:

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


## Conventions

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 match the stack name unless it's explicitly specified with `--config` or `--param`.

Often you want to create a stack name that is different from the blueprint name. Here’s an example of overriding the blueprint name.

    lono cfn deploy my-stack --blueprint demo

Version data entries

29 entries across 29 versions & 1 rubygems

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