Update onix-gcp-terraform-deploy.yml

This commit is contained in:
AbhishekHS220
2025-06-04 11:10:06 +05:30
committed by GitHub
parent b4e2e18464
commit c563552367

View File

@@ -47,6 +47,18 @@ jobs:
terraform init
- name: Create provider.tf with credentials
working-directory: ./gerrit-repo/Terraform-CICD
run: |
cat <<EOF > provider.tf
provider "google" {
credentials = "${{ github.workspace }}/gcp-key.json"
project = trusty-relic-370809"
region = "asia-south1"
}
EOF
- name: Terraform Plan
working-directory: ./gerrit-repo/Terraform-CICD