diff --git a/.github/workflows/LaunchComputeGraph.yml b/.github/workflows/LaunchComputeGraph.yml index bd01b07..45a9e0d 100644 --- a/.github/workflows/LaunchComputeGraph.yml +++ b/.github/workflows/LaunchComputeGraph.yml @@ -6,6 +6,9 @@ on: WIKI_LANG: description: 'The 2 letter lang code to generate dump for' required: true + GCP_REGION: + description: 'The GCP region of compute engine to use' + default: 'europe-west1-c' jobs: build: runs-on: ubuntu-latest @@ -24,7 +27,7 @@ jobs: run: | gcloud compute instances create-with-container generate-${{ github.event.inputs.WIKI_LANG }}wiki-memgraph-compute \ --project=sixdegreesofwikiadventure \ - --zone=europe-west1-c \ + --zone=${{ github.event.inputs.GCP_REGION }}\ --machine-type=n1-standard-16 \ --network-interface=network-tier=PREMIUM,stack-type=IPV4_ONLY,subnet=default \ --maintenance-policy=MIGRATE \