OSVauco/infrastructure/terraform
2026-06-10 01:59:31 +02:00
..
cost-guard-fn feat: opax-mcp modul-struktur, acceptance-test og preflight-check scripts 2026-05-26 13:36:59 +00:00
customers feat(C2): customer stamp-out struktur og create_customer.sh 2026-05-30 14:56:13 +00:00
modules fix(terraform): fjern udefinert data-referanse i vauco-platform/outputs.tf 2026-06-10 01:43:54 +02: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
dns-email.tf fix(V1e): DKIM som én sammenhengende TXT-streng (korrekt HCL-syntaks) 2026-06-10 01:59:31 +02:00
main.tf auto: sync 2026-05-27 16:34:38 +00:00
outputs.tf docs: update masterplan and terraform outputs 2026-05-27 17:24:01 +00:00
platform.tf feat(terraform): add vauco-platform module with domain mappings + CG3 variables 2026-05-31 15:47:02 +02: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)