Update extra_arguments schema example (#70)

* Removed reference to tfvars as this was misleading when used in
conjuntion with preplan.
* updated the terraform_version example that's referenced
when doing a mock run of the schema.
* Updated varfile name to recommended name
This commit is contained in:
Michael Simo
2018-03-16 13:09:39 -07:00
committed by Luke Kysow
parent 566febeec4
commit fc947004eb

View File

@@ -234,13 +234,13 @@ post_apply:
extra_arguments:
- command_name: plan
arguments:
- "-tfvars=myvars.tfvars"
- "-var-file=terraform.tfvars"
```
When running the `pre_plan`, `post_plan`, `pre_apply`, and `post_apply` commands the following environment variables are available
- `WORKSPACE`: if a workspace argument is supplied to `atlantis plan` or `atlantis apply`, ex `atlantis plan -w staging`, this will
be the value of that argument. Else it will be `default`
- `ATLANTIS_TERRAFORM_VERSION`: local version of `terraform` or the version from `terraform_version` if specified, ex. `0.10.0`
- `ATLANTIS_TERRAFORM_VERSION`: local version of `terraform` or the version from `terraform_version` if specified, ex. `0.8.8`
- `DIR`: absolute path to the root of the project on disk
## Locking