switching terraform backend to azure storage
All checks were successful
Pull Request / changes (pull_request) Successful in 23s
Pull Request / build-and-test (pull_request) Has been skipped
Pull Request / terraform-plan (pull_request) Has been skipped

This commit is contained in:
2026-07-13 11:46:41 -05:00
parent 81c589001b
commit 875b8a0d90
4 changed files with 5 additions and 3 deletions

View File

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

View File

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