OSVauco/infrastructure/terraform
Chris Christiansen 553ec027e3 auto: sync
2026-05-27 16:23:44 +00:00
..
cost-guard-fn feat: opax-mcp modul-struktur, acceptance-test og preflight-check scripts 2026-05-26 13:36:59 +00:00
modules/vauco-bootstrap feat(terraform): add vauco-bootstrap module 2026-05-27 16:13:08 +00:00
.gitignore chore(terraform): add .gitignore — exclude tfstate and sensitive files 2026-05-26 07:40:11 +02:00
.terraform.lock.hcl feat(tf): convert all remaining scripts to terraform 2026-05-26 12:37:28 +00:00
main.tf auto: sync 2026-05-27 16:23:44 +00:00
medioteq.tf feat(c4): set Medioteq project-ID and billing_account_id 2026-05-27 16:02:00 +00:00
outputs.tf auto: sync 2026-05-26 12:58:22 +00:00
README.md feat(terraform): scaffold terraform directory with README 2026-05-26 04:31:52 +00:00
terraform.tfvars feat(tf): convert all remaining scripts to terraform 2026-05-26 12:37:28 +00:00
tfapply.txt fix(terraform): remove unmanageable resources — Cloud Run via CI/CD, Pub/Sub email invalid 2026-05-26 05:22:11 +00:00
variables.tf feat(tf): convert all remaining scripts to terraform 2026-05-26 12:37:28 +00:00
versions.tf feat(tf): convert all remaining scripts to terraform 2026-05-26 12:37:28 +00:00

Terraform — OSVauco Infrastructure

Status: Fase C — ikke startet ennå.

Terraform-modulene her vil erstatte infrastructure/*.sh-scriptene når Medioteq-leveransen (Fase C) starter.

Planlagt struktur

  • main.tf — Cloud Run, Cloud Build, IAP, budsjett, SA per kunde
  • variables.tf — customer_id, region, project_id
  • outputs.tf — Cloud Run URL, SA e-post

Kjøring (Fase C)

terraform init
terraform plan -var="customer_id=medioteq"
terraform apply -var="customer_id=medioteq"  # HITL-gate: krever manuell godkjenning

State-backend

GCS bucket: propane-will-491900-m5-tfstate (opprettes i Fase C)