Loading jobs/gitlab-terraform_apply/CHANGELOG.md +5 −2 Original line number Diff line number Diff line # Changelog All notable changes to this job will be documented in this file. ## [0.3.0] - 2021-10-07 * Fix default values of variables ## [0.2.0] - 2021-10-07 * Update the docker image used Loading jobs/gitlab-terraform_apply/README.md +3 −3 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ This job will apply all the changes set by `gitlab-terraform_plan` in the file ` | Name | Description | Default | | ---- | ----------- | ------- | | `TF_ROOT` | Directory path to terraform files | `terraform` | | `TF_ADDRESS` | Directory path to terraform state files | `terraform` | | `TF_ADDRESS` | Address to terraform state backend | `${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/main` | ### Artifacts Loading jobs/gitlab-terraform_apply/gitlab-terraform_apply.yml +6 −8 Original line number Diff line number Diff line Loading @@ -13,17 +13,15 @@ cache: gitlab-terraform_apply: stage: deploy image: registry.gitlab.com/gitlab-org/terraform-images/releases/1.0:v0.20.0 variables: TF_ADDRESS: "" TF_ROOT: "terraform" TF_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/main script: - cd ${CI_PROJECT_DIR}/${TF_ROOT} - gitlab-terraform apply artifacts: when: always expose_as: "Terraform Apply artifact" expose_as: "Terraform apply artifact" paths: - plan.cache - "${CI_PROJECT_DIR}/${TF_ROOT}/output.log" when: manual jobs/gitlab-terraform_plan/CHANGELOG.md +5 −2 Original line number Diff line number Diff line # Changelog All notable changes to this job will be documented in this file. ## [0.3.0] - 2021-10-07 * Fix default values of variables ## [0.2.0] - 2021-10-07 * Update the docker image used Loading jobs/gitlab-terraform_plan/README.md +2 −3 Original line number Diff line number Diff line Loading @@ -32,9 +32,8 @@ This job will initialize a working directory containing Terraform configuration | Name | Description | Default | | ---- | ----------- | ------- | | `TF_ROOT` | Directory path to terraform files | `terraform` | | `TF_ADDRESS` | Directory path to terraform state files | `terraform` | | `TF_ADDRESS` | Address to terraform state backend | `${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/main` | | `INIT_OPTIONS` | Additional options to terraform CLI init | ` ` | | `PLAN_JSON` | Allow report into plan.json if set to true | ` ` | ### Artifacts Loading Loading
jobs/gitlab-terraform_apply/CHANGELOG.md +5 −2 Original line number Diff line number Diff line # Changelog All notable changes to this job will be documented in this file. ## [0.3.0] - 2021-10-07 * Fix default values of variables ## [0.2.0] - 2021-10-07 * Update the docker image used Loading
jobs/gitlab-terraform_apply/README.md +3 −3 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ This job will apply all the changes set by `gitlab-terraform_plan` in the file ` | Name | Description | Default | | ---- | ----------- | ------- | | `TF_ROOT` | Directory path to terraform files | `terraform` | | `TF_ADDRESS` | Directory path to terraform state files | `terraform` | | `TF_ADDRESS` | Address to terraform state backend | `${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/main` | ### Artifacts Loading
jobs/gitlab-terraform_apply/gitlab-terraform_apply.yml +6 −8 Original line number Diff line number Diff line Loading @@ -13,17 +13,15 @@ cache: gitlab-terraform_apply: stage: deploy image: registry.gitlab.com/gitlab-org/terraform-images/releases/1.0:v0.20.0 variables: TF_ADDRESS: "" TF_ROOT: "terraform" TF_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/main script: - cd ${CI_PROJECT_DIR}/${TF_ROOT} - gitlab-terraform apply artifacts: when: always expose_as: "Terraform Apply artifact" expose_as: "Terraform apply artifact" paths: - plan.cache - "${CI_PROJECT_DIR}/${TF_ROOT}/output.log" when: manual
jobs/gitlab-terraform_plan/CHANGELOG.md +5 −2 Original line number Diff line number Diff line # Changelog All notable changes to this job will be documented in this file. ## [0.3.0] - 2021-10-07 * Fix default values of variables ## [0.2.0] - 2021-10-07 * Update the docker image used Loading
jobs/gitlab-terraform_plan/README.md +2 −3 Original line number Diff line number Diff line Loading @@ -32,9 +32,8 @@ This job will initialize a working directory containing Terraform configuration | Name | Description | Default | | ---- | ----------- | ------- | | `TF_ROOT` | Directory path to terraform files | `terraform` | | `TF_ADDRESS` | Directory path to terraform state files | `terraform` | | `TF_ADDRESS` | Address to terraform state backend | `${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/main` | | `INIT_OPTIONS` | Additional options to terraform CLI init | ` ` | | `PLAN_JSON` | Allow report into plan.json if set to true | ` ` | ### Artifacts Loading