diff --git a/CHANGELOG.md b/CHANGELOG.md index a9d6ea5f24c986304c2c5ed3e118bdb45e2d3761..ef233917a1b38e30060871c2cec3c30ff919153d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [6.4.1] - 2024-12-10 + +### Fixed + +- Fixed an "integer expression expected" issue in a `.terraform-plan` job in the + `terraform-pipeline-base.yml` file by removing subshell `( ... )` from a command. + ## [6.4.0] - 2024-12-05 ### Changed diff --git a/terraform-pipeline-base.yml b/terraform-pipeline-base.yml index 3a4bb6c5c835ebd7e3f51a0c4568ba62874e89aa..babe89a8cff6d9ceff6fe89c1d48f1d0545026ff 100644 --- a/terraform-pipeline-base.yml +++ b/terraform-pipeline-base.yml @@ -69,7 +69,7 @@ variables: # # By allowing this job to exit with exit code 2 we are able to show an amber warning icon in the GitLab UI. This # makes it easy to spot when an environment requires changes following a plan job. - (terraform plan $TF_PLAN_ARGS -out=${TF_DATA_DIR}/${CI_COMMIT_REF_SLUG}-${DEPLOYMENT_ENVIRONMENT}.tfplan -detailed-exitcode && exit_code=$?) || exit_code=$? + terraform plan $TF_PLAN_ARGS -out=${TF_DATA_DIR}/${CI_COMMIT_REF_SLUG}-${DEPLOYMENT_ENVIRONMENT}.tfplan -detailed-exitcode && exit_code=$? || exit_code=$? if [ "$exit_code" -eq 1 ]; then exit 1; fi if [ -f "${TF_DATA_DIR}/${CI_COMMIT_REF_SLUG}-${DEPLOYMENT_ENVIRONMENT}.tfplan" ]; then