switching terraform backend to azure storage #147

Merged
noah merged 4 commits from 146-switch-terraform-backend into main 2026-07-13 12:51:25 -04:00
4 changed files with 5 additions and 3 deletions
Showing only changes of commit 875b8a0d90 - Show all commits

View File

@@ -23,7 +23,7 @@ jobs:
name: terraform-plan
needs:
- changes
uses: ./.gitea/workflows/infrastructure.yaml
uses: ./.gitea/workflows/terraform.yaml
with:
environment_name: test
secrets: inherit

View File

@@ -1,6 +1,6 @@
name: 'Terraform'
on:
workflow_dispatch:
workflow_call:
inputs:
environment_name:
type: string
@@ -31,7 +31,7 @@ jobs:
- name: Terraform init
run: |
terraform -chdir=./infrastructure init -input=false
terraform -chdir=./infrastructure init -reconfigure -backend-config="${{ inputs.environment_name }}.backend.tfvars" -input=false
- name: Terraform plan
if: ${{ github.event_name == 'pull_request' }}

View File

@@ -0,0 +1 @@
container_name = "tfstate-flying-prod"

View File

@@ -0,0 +1 @@
container_name = "tfstate-flying-test"