Fix GCE terraform region/zone for light stemcell CI pipeline#690
Conversation
Add europe-north2 region and europe-north2-a zone to the light-google-environment-oss terraform resource to fix the failing create-light-google-ubuntu-jammy-1 build. See: https://bosh.ci.cloudfoundry.org/teams/stemcell/pipelines/ubuntu-jammy/jobs/create-light-google-ubuntu-jammy-1/builds/16 ai-assisted=yes [TNZ-116382] Monthly Release - July patch
WalkthroughThe Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Updates the Concourse pipeline template so the GCE terraform resource used for building light stemcells targets the intended Europe North 2 region/zone, avoiding Terraform falling back to us-central1 defaults and breaking the light stemcell CI flow.
Changes:
- Adds
gce_region: europe-north2andgce_zone: europe-north2-ato thelight-google-environment-ossterraform resource vars.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
N1 machine types are not available in europe-north2. Switch to e2-standard-2 (2 vCPU, 8 GB) which is supported in all europe-north2 zones and is a direct equivalent to n1-standard-2. ai-assisted=yes [TNZ-116382] Monthly Release - July patch
Summary
Two fixes to unblock the failing `create-light-google-ubuntu-jammy-1` CI build #16:
Add explicit GCE region/zone — `light-google-environment-oss` terraform resource in `ci/pipeline-template.yml` was defaulting to `us-central1-f`, which returned "does not have enough resources available to fulfill the request (resource type: compute)". Switched to `europe-north2` / `europe-north2-a`.
Switch machine type `n1-standard-2` → `e2-standard-2` — N1 machine types are not available in `europe-north2` at all. `e2-standard-2` is the equivalent (2 vCPU, 8 GB) and is supported across all `europe-north2` zones.
Files changed
Jira: TNZ-119889 / TNZ-116382
Test plan