This commit is contained in:
parent
cd2eb96b26
commit
b2257d8e5f
@ -16,20 +16,19 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Terraform
|
- name: Set up Terraform
|
||||||
uses: hashicorp/setup-terraform@v1
|
uses: hashicorp/setup-terraform@v3
|
||||||
with:
|
with:
|
||||||
terraform_version: 1.7.5
|
terraform_version: 1.7.5
|
||||||
|
|
||||||
# - name: Set up Cloud SDK
|
- name: Set up Cloud SDK
|
||||||
# uses: google-github-actions/setup-gcloud@master
|
uses: Tips-Of-Mine/setup-gcloud@v2
|
||||||
#with:
|
|
||||||
# project_id: ${{ secrets.GCP_PROJECT_ID }}
|
|
||||||
# service_account_key: ${{ secrets.GCP_SA_KEY }}
|
|
||||||
# export_default_credentials: true
|
|
||||||
|
|
||||||
- uses: hashicorp/setup-terraform@v3
|
|
||||||
with:
|
with:
|
||||||
terraform_version: 1.7.5
|
project_id: ${{ secrets.GCP_PROJECT_ID }}
|
||||||
|
service_account_key: ${{ secrets.GCP_SA_KEY }}
|
||||||
|
export_default_credentials: true
|
||||||
|
|
||||||
|
- name: 'Use gcloud CLI'
|
||||||
|
run: 'gcloud info'
|
||||||
|
|
||||||
- name: Terraform fmt
|
- name: Terraform fmt
|
||||||
id: fmt
|
id: fmt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user