Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions automated_ingestion/iac/.terraform.tfstate.lock.info
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ID":"dbce0c93-cc58-cb45-fa55-faf792ad5025","Operation":"OperationTypeApply","Info":"","Who":"jakeross@Jakes-MacBook-Pro.local","Version":"1.14.8","Created":"2026-08-19T03:37:52.057173Z","Path":"terraform.tfstate"}
9 changes: 7 additions & 2 deletions automated_ingestion/iac/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,13 @@ locals {
resource "google_storage_bucket" "ingestion_raw" {
for_each = local.environments

name = "ocotillo-ingestion-${each.key}"
project = var.project_id
name = "ocotillo-ingestion-${each.key}"
project = var.project_id

# Bucket location is immutable: changing it replaces the bucket. That is
# tolerable only while the raw zone is empty. Once a backfill has landed,
# moving regions means copying objects across and re-pointing the pipeline,
# not editing this line.
location = var.bucket_location

# The raw zone is the replay source for Mode B backfill: reprocessing a
Expand Down
4 changes: 2 additions & 2 deletions automated_ingestion/iac/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ variable "region" {

variable "bucket_location" {
type = string
description = "Bucket location. US-CENTRAL1 keeps the raw zone in the same region as Cloud SQL, so replay reads do not cross regions."
default = "US-CENTRAL1"
description = "Bucket location. Must match the Cloud SQL region so replay reads do not cross regions and pay egress. The dataservices instance is in us-west4."
default = "US-WEST4"
}

variable "cloud_sql_instance" {
Expand Down
Loading