From 856513aa1e943eaf529c000dd3eab77def66b70a Mon Sep 17 00:00:00 2001 From: Henrik Simonsen Knutsen <46495473+hknutsen@users.noreply.github.com> Date: Thu, 12 Dec 2024 09:59:53 +0100 Subject: [PATCH] fix(terraform): apply job should fail if unable to restore cache --- .github/workflows/terraform.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 2570e2bc..1a56e56e 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -294,6 +294,7 @@ jobs: with: path: ${{ needs.terraform-plan.outputs.plugin-cache-dir }} key: ${{ needs.terraform-plan.outputs.cache-primary-key }} + fail-on-cache-miss: true - name: Setup Terraform uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd