Commit 24e66a6f authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

Merge branch '53-default-tf_image-is-not-updated' into 'master'

fix(image): update TF_IMAGE default value from light to latest

Closes #53

See merge request to-be-continuous/terraform!84
parents e97441a5 0b9437f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -318,7 +318,7 @@ The Terraform template uses some global configuration used throughout all jobs.

| Name                     | description                            | default value     |
| ------------------------ | -------------------------------------- | ----------------- |
| `TF_IMAGE`               | the Docker image used to run Terraform CLI commands <br/>:warning: **set the version required by your project** | `registry.hub.docker.com/hashicorp/terraform:light` |
| `TF_IMAGE`               | the Docker image used to run Terraform CLI commands <br/>:warning: **set the version required by your project** | `registry.hub.docker.com/hashicorp/terraform:latest` |
| `TF_GITLAB_BACKEND_DISABLED`| Set to `true` to disable [GitLab managed Terraform State](https://docs.gitlab.com/ee/user/infrastructure/terraform_state.html) | _none_ (enabled) |
| `TF_PROJECT_DIR`         | Terraform project root directory        | `.`               |
| `TF_SCRIPTS_DIR`         | Terraform (hook) scripts base directory (relative to `$TF_PROJECT_DIR`) | `.` |
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
    {
      "name": "TF_IMAGE",
      "description": "the Docker image used to run Terraform CLI commands - **set the version required by your project**",
      "default": "registry.hub.docker.com/hashicorp/terraform:light"
      "default": "registry.hub.docker.com/hashicorp/terraform:latest"
    },
    {
      "name": "TF_GITLAB_BACKEND_DISABLED",
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ variables:
  TBC_TRACKING_IMAGE: "$CI_REGISTRY/to-be-continuous/tools/tracking:master"

  # Default Docker image (can be overridden)
  TF_IMAGE: "registry.hub.docker.com/hashicorp/terraform:light"
  TF_IMAGE: "registry.hub.docker.com/hashicorp/terraform:latest"
  TF_TFSEC_IMAGE: "registry.hub.docker.com/aquasec/tfsec-ci"
  TF_TFSEC_ARGS: "."
  TF_TFLINT_IMAGE: "ghcr.io/terraform-linters/tflint-bundle:latest"