iac_modules/terraform/gcp/Readme.md: add set Compute Engine API

This commit is contained in:
Haitao Pan 2024-01-27 16:45:29 +08:00
parent 28d3b9203d
commit 62cfa22e5b

View File

@ -40,7 +40,7 @@ jobs:
- name: Check Bucket Existence and Set Environment Variable
run: |
BUCKET_NAME="iac_gcp_terraform_state"
BUCKET_NAME="iac_google_cloud_terraform_status"
BUCKET_EXISTS=$(gsutil ls -b gs://${BUCKET_NAME} &> /dev/null && echo "true" || echo "false")
echo "BUCKET_EXISTS=${BUCKET_EXISTS}" >> $GITHUB_ENV
shell: bash