diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index de4603e00..49a9f8441 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -63,7 +63,7 @@ jobs: # --field branch="$DESTINATION_BRANCH" \ # --field sha="$SHA" - name: Upload Configuration - uses: hashicorp/tfc-workflows-github/actions/upload-configuration@v1.0.0 + uses: hashicorp/tfc-workflows-github/actions/upload-configuration@v1.0.2 id: apply-upload with: workspace: ${{ env.TF_WORKSPACE }} @@ -71,7 +71,7 @@ jobs: # https://app.terraform.io/app/firezone/workspaces/staging/settings/general directory: "./" - name: Create Plan Run - uses: hashicorp/tfc-workflows-github/actions/create-run@v1.0.0 + uses: hashicorp/tfc-workflows-github/actions/create-run@v1.0.2 id: apply-run env: TF_VAR_api_image_tag: '"${{ github.sha }}"' @@ -80,7 +80,7 @@ jobs: workspace: ${{ env.TF_WORKSPACE }} configuration_version: ${{ steps.apply-upload.outputs.configuration_version_id }} - name: Apply - uses: hashicorp/tfc-workflows-github/actions/apply-run@v1.0.0 + uses: hashicorp/tfc-workflows-github/actions/apply-run@v1.0.2 if: fromJSON(steps.apply-run.outputs.payload).data.attributes.actions.IsConfirmable id: apply with: diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 6a66db2a8..bbfb1189b 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -38,7 +38,7 @@ jobs: run: | terraform fmt --check --recursive - name: Upload Configuration - uses: hashicorp/tfc-workflows-github/actions/upload-configuration@v1.0.0 + uses: hashicorp/tfc-workflows-github/actions/upload-configuration@v1.0.2 id: plan-upload with: workspace: ${{ env.TF_WORKSPACE }} @@ -47,7 +47,7 @@ jobs: directory: "./" speculative: true - name: Create Plan Run - uses: hashicorp/tfc-workflows-github/actions/create-run@v1.0.0 + uses: hashicorp/tfc-workflows-github/actions/create-run@v1.0.2 id: plan-run env: TF_VAR_api_image_tag: '"${{ github.sha }}"' @@ -57,7 +57,7 @@ jobs: configuration_version: ${{ steps.plan-upload.outputs.configuration_version_id }} plan_only: true - name: Get Plan Output - uses: hashicorp/tfc-workflows-github/actions/plan-output@v1.0.0 + uses: hashicorp/tfc-workflows-github/actions/plan-output@v1.0.2 id: plan-output with: plan: ${{ fromJSON(steps.plan-run.outputs.payload).data.relationships.plan.data.id }}