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