From fc947004ebe2afe0bb945f49b3695cd7e02ed2d5 Mon Sep 17 00:00:00 2001 From: Michael Simo Date: Fri, 16 Mar 2018 13:09:39 -0700 Subject: [PATCH] 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 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6ba3b1fcf..ec4317168 100644 --- a/README.md +++ b/README.md @@ -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