From 36c8fa3bebb58413b2aa6865c1770c2b77df7ee2 Mon Sep 17 00:00:00 2001 From: Andrew Dryga Date: Mon, 12 Jun 2023 15:49:47 -0600 Subject: [PATCH] Try to wrap tf vars in backticks --- .github/workflows/cd.yml | 4 ++-- .github/workflows/terraform.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 2e7e66f6c..ad97bad02 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -75,8 +75,8 @@ jobs: uses: hashicorp/tfc-workflows-github/actions/create-run@v1.0.0 id: apply-run env: - TF_VAR_api_image_tag: ${{ github.sha }} - TF_VAR_web_image_tag: ${{ github.sha }} + TF_VAR_api_image_tag: "${{ github.sha }}" + TF_VAR_web_image_tag: "${{ github.sha }}" with: workspace: ${{ env.TF_WORKSPACE }} configuration_version: ${{ steps.apply-upload.outputs.configuration_version_id }} diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 133c551ed..111573c9e 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -47,8 +47,8 @@ jobs: uses: hashicorp/tfc-workflows-github/actions/create-run@v1.0.0 id: plan-run env: - TF_VAR_api_image_tag: ${{ github.sha }} - TF_VAR_web_image_tag: ${{ github.sha }} + TF_VAR_api_image_tag: "${{ github.sha }}" + TF_VAR_web_image_tag: "${{ github.sha }}" with: workspace: ${{ env.TF_WORKSPACE }} configuration_version: ${{ steps.plan-upload.outputs.configuration_version_id }}