Compare commits

...
Author SHA1 Message Date
Andrew BeveridgeandClaude Opus 4.5 03c0e0954b fix(infra): Use us-central1-c for encoding worker (c4d availability)
us-central1-a and us-central1-b lack c4d-highcpu-32 capacity.
Added ENCODING_WORKER_ZONE to use us-central1-c which has availability.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 14:27:03 -05:00
2 changed files with 6 additions and 2 deletions

No files matched your search

+2 -2
View File
@@ -8,7 +8,7 @@ including static IP and firewall rules.
import pulumi
from pulumi_gcp import compute, serviceaccount
from config import REGION, ZONE, PROJECT_ID, MachineTypes, DiskSizes
from config import REGION, ENCODING_WORKER_ZONE, PROJECT_ID, MachineTypes, DiskSizes
from .startup_scripts import read_script
@@ -61,7 +61,7 @@ def create_encoding_worker_vm(
"encoding-worker",
name="encoding-worker",
machine_type=MachineTypes.ENCODING_WORKER,
zone=ZONE,
zone=ENCODING_WORKER_ZONE,
boot_disk=compute.InstanceBootDiskArgs(
initialize_params=compute.InstanceBootDiskInitializeParamsArgs(
image=custom_image,
+4
View File
@@ -33,6 +33,10 @@ def get_project_number() -> str:
REGION = "us-central1"
ZONE = f"{REGION}-a"
# Encoding worker zone - uses us-central1-c due to c4d-highcpu-32 availability
# (us-central1-a and us-central1-b often lack capacity for high-end C4D instances)
ENCODING_WORKER_ZONE = f"{REGION}-c"
# Pulumi config accessor
config = pulumi.Config()