Skip to content

Commit

Permalink
readme: added help output
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocode committed Jan 5, 2019
1 parent ba8f22f commit 7926a79
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,27 @@ changedResources:
new: subnet-ac7b95a3|subnet-d74eeda1
```

Please see the help documentation

terraform-plan-applier -h
```
$ terraform-plan-applier -h
Usage: terraform-plan-applier [options]
Options:
-V, --version output the version number
-c, --config <file> required config criteria yaml to apply
-p, --plan [file] optional output of `terraform plan` which can be piped in
--apply Executes `terraform apply -auto-approve` if criteria is matched
-v, --verbose verbose mode
-h, --help output usage information
Dry Run Examples:
$ terraform plan | terraform-plan-apply -c apply.yml
$ cat terraform-plan.stdout | terraform-plan-apply -c apply.yml
$ AWS_PROFILE=dev terraform-plan-apply -c apply.yml < terraform-plan.stdout
Apply Examples:
$ terraform-plan-apply --config apply.yml --apply < terraform-plan.stdout
$ AWS_PROFILE=dev terraform-plan-apply --config apply.yml --apply < terraform-plan.stdout
```

## Contribute

Expand Down

0 comments on commit 7926a79

Please sign in to comment.