Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

Commit

Permalink
Merge d7e1699 into 26b8f36
Browse files Browse the repository at this point in the history
  • Loading branch information
ojkelly committed Sep 28, 2018
2 parents 26b8f36 + d7e1699 commit a04398f
Showing 1 changed file with 59 additions and 0 deletions.
59 changes: 59 additions & 0 deletions documentation/content/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,65 @@ $ kombustion generate [template file]
$ kombustion generate path/to/cloudformation/stack.yaml
```


__Options__

#### `--output-directory`, `-d`

_(Optional) Set the directory to write the generated files in._

#### `--region`, `-r`

_(Optional)Set the region to deploy into._

#### `--stack-name`

_(Optional) Set the stack name._

If not provided a stack name is derived from `Title` in `kombustion.yaml`, the file name of the
stack, and the environment in the following pattern `{Title}-{FileName}-{Environment}`.

If you do not provide `--stack-name` you must provide `--environment`.

#### `--environment`, `-e`

_(Optional) The environment to deploy to._

Environment config to use as defined in ./kombustion.yaml.

If `AccountIDs` are listed under the environment, then you will only be able to deploy into that
account.

If `Parameters` are listed under the environment, they will be added to the stack.


#### `--param`, `-p`

_(Optional) Specify CloudFormation parameters._

Parameters are also sourced from `kombustion.yaml`, but paramteres passed via the cli have precedence.
Anything you pass via this option, will be used instead of whats in `kombustion.yaml`.

```bash
$ kombustion upsert \
--param ParamKeyOne=ParamValueOne, ParamKeyTwo=ParamValueTwo \
path/to/cloudformation/stack.yaml
```

#### `--generate-default-outputs`, `-b`

_(Optional) Disable generation of outputs for Base AWS types_


#### `--read-parameters`

_(Optional) Read parameters from a CloudFormation parameters file_


#### `--write-parameters`, `-w`

_(Optional) Write parameters to a CloudFormation paramters file_

---

### `upsert`
Expand Down

0 comments on commit a04398f

Please sign in to comment.