mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-02 00:58:46 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user