diff --git a/.github/workflows/gcp-manage-layer.yaml b/.github/workflows/gcp-manage-layer.yaml index e863579..4e0d3c4 100644 --- a/.github/workflows/gcp-manage-layer.yaml +++ b/.github/workflows/gcp-manage-layer.yaml @@ -19,13 +19,14 @@ on: jobs: deploy-npd: if: github.event_name == 'pull_request' || github.ref_name == 'main' - uses: AnoopHegde/platformengine-reusable-workflows/.github/workflows/terraform-deploy-gcp.yaml@v0.1.6 + uses: AnoopHegde/platformengine-reusable-workflows/.github/workflows/terraform-deploy-gcp.yaml@main with: github-env: npd environment: npd working-directory: GCP-GHA - vars-path: ../../environments/layers/npd/env.tfvars + vars-path: ./environments/layers/npd/env.tfvars runner-label: pe-arc-runner-shared-npd - tfvars: >- - "-var=GCP_SA_KEY=$GCP_SA_KEY" + #tfvars: >- + # "-var=GCP_SA_KEY=$GCP_SA_KEY" + # "-var=GCP_PROJECT_ID=$GCP_PROJECT_ID" secrets: inherit diff --git a/GCP-GHA/modules/database/locals.tf b/GCP-GHA/modules/database/locals.tf index 40bdc65..c102528 100644 --- a/GCP-GHA/modules/database/locals.tf +++ b/GCP-GHA/modules/database/locals.tf @@ -1,5 +1,5 @@ locals { gcp_global_address = "private-ip-address" - gcp_sql_db_instance = "app-db-master" - gcp_sql_read_replica = "app-db-read-replica" + gcp_sql_db_instance = "webapp-db-master" + gcp_sql_read_replica = "webapp-db-read-replica" } \ No newline at end of file