add : file state
All checks were successful
terraform validation / Terraform (push) Successful in 17s

This commit is contained in:
Hubert Cornet 2025-01-21 07:53:29 +01:00
parent 53323fbb65
commit ac2c934c8f
2 changed files with 7 additions and 2 deletions

View File

@ -20,7 +20,7 @@ jobs:
with:
terraform_version: 1.7.5
- name: Set up Cloud SDK
- name: Set up GCloud SDK
uses: google-github-actions/setup-gcloud@v2
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
@ -28,7 +28,7 @@ jobs:
export_default_credentials: true
version: '>= 506.0.0'
- name: 'Use gcloud CLI'
- name: 'Use GCloud CLI'
run: 'gcloud info'
- name: Authenticate with Google Cloud Platform

5
state.tf Normal file
View File

@ -0,0 +1,5 @@
terraform {
backend "local" {
path = "state/terraform.tfstate"
}
}