Loading jobs/gitlab-terraform_apply/CHANGELOG.md +4 −1 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 ## [0.4.0] - 2022-05-12 * Update default value of `TF_ROOT` to make job plug and play ## [0.3.0] - 2022-05-12 * Fix default values of variables ## [0.2.0] - 2021-10-07 Loading jobs/gitlab-terraform_apply/README.md +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,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_ROOT` | Directory path to terraform files | `${CI_PROJECT_DIR}/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 +3 −3 Original line number Diff line number Diff line Loading @@ -14,14 +14,14 @@ gitlab-terraform_apply: stage: deploy image: registry.gitlab.com/gitlab-org/terraform-images/releases/1.0:v0.20.0 variables: TF_ROOT: "terraform" TF_ROOT: ${CI_PROJECT_DIR}/terraform TF_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/main script: - cd ${CI_PROJECT_DIR}/${TF_ROOT} - cd ${TF_ROOT} - gitlab-terraform apply artifacts: when: always expose_as: "Terraform apply artifact" paths: - "${CI_PROJECT_DIR}/${TF_ROOT}/output.log" - "${TF_ROOT}/output.log" when: manual jobs/gitlab-terraform_plan/CHANGELOG.md +4 −1 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 ## [0.4.0] - 2022-05-12 * Update default value of `TF_ROOT` to make job plug and play ## [0.3.0] - 2022-05-12 * Fix default values of variables ## [0.2.0] - 2021-10-07 Loading jobs/gitlab-terraform_plan/README.md +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ This job will initialize a working directory containing Terraform configuration | Name | Description | Default | | ---- | ----------- | ------- | | `TF_ROOT` | Directory path to terraform files | `terraform` | | `TF_ROOT` | Directory path to terraform files | `${CI_PROJECT_DIR}/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 | ` ` | Loading Loading
jobs/gitlab-terraform_apply/CHANGELOG.md +4 −1 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 ## [0.4.0] - 2022-05-12 * Update default value of `TF_ROOT` to make job plug and play ## [0.3.0] - 2022-05-12 * Fix default values of variables ## [0.2.0] - 2021-10-07 Loading
jobs/gitlab-terraform_apply/README.md +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,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_ROOT` | Directory path to terraform files | `${CI_PROJECT_DIR}/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 +3 −3 Original line number Diff line number Diff line Loading @@ -14,14 +14,14 @@ gitlab-terraform_apply: stage: deploy image: registry.gitlab.com/gitlab-org/terraform-images/releases/1.0:v0.20.0 variables: TF_ROOT: "terraform" TF_ROOT: ${CI_PROJECT_DIR}/terraform TF_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/main script: - cd ${CI_PROJECT_DIR}/${TF_ROOT} - cd ${TF_ROOT} - gitlab-terraform apply artifacts: when: always expose_as: "Terraform apply artifact" paths: - "${CI_PROJECT_DIR}/${TF_ROOT}/output.log" - "${TF_ROOT}/output.log" when: manual
jobs/gitlab-terraform_plan/CHANGELOG.md +4 −1 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 ## [0.4.0] - 2022-05-12 * Update default value of `TF_ROOT` to make job plug and play ## [0.3.0] - 2022-05-12 * Fix default values of variables ## [0.2.0] - 2021-10-07 Loading
jobs/gitlab-terraform_plan/README.md +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ This job will initialize a working directory containing Terraform configuration | Name | Description | Default | | ---- | ----------- | ------- | | `TF_ROOT` | Directory path to terraform files | `terraform` | | `TF_ROOT` | Directory path to terraform files | `${CI_PROJECT_DIR}/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 | ` ` | Loading