Skip to content

Commit

Permalink
Ensure Terraform is refreshed in database workflow
Browse files Browse the repository at this point in the history
We try and get some outputs from Terraform before we've refreshed the
Terraform state, so the values end up being empty.
  • Loading branch information
thomasleese committed Jan 31, 2024
1 parent c35cd16 commit 6aab463
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/database.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ jobs:
environment: production
azure-credentials: ${{ secrets.AZURE_CREDENTIALS }}

- name: Refresh Terraform
run: make ci production terraform-refresh
env:
TF_VAR_azure_sp_credentials_json: ${{ secrets.AZURE_CREDENTIALS }}
DOCKER_IMAGE: "ghcr.io/dfe-digital/apply-for-qualified-teacher-status:no-tag"

- name: Get Azure backup storage details
id: azure-backup-storage
working-directory: terraform/application
Expand Down

0 comments on commit 6aab463

Please sign in to comment.