Skip to main content

Repository Map

Repositories

RepoWhat it owns
platform-api-gatewayCloudflare Workers: admin-gateway, public-gateway
iac-api-gatewayGateway subnet, VM template, MIG, health check, CF Tunnel, DNS, secrets, IAM
iac-accessCloud Run services (svc-access, svc-access-public), Cloud SQL
iac-foundationVPC, Cloud NAT, firewall rules (egress tags), WIF, service accounts
svc-accessBackend application code

Key files in iac-api-gateway/gateway/

FilePurpose
cf_proxy.pycf-proxy source — embedded into VM startup script by Terraform
vm.tfInstance template, MIG, health check, routes_json local
tunnel.tfCF Tunnel resource + ingress rules
dns.tfCNAME records for internal hostnames
secrets.tfINTERNAL_AUTH_TOKEN generation, GCP SM, CF Secrets Store push
access.tfCF Access service tokens (pending cleanup)
network.tfGateway subnet
iam.tfGateway VM service account bindings
main.tfLocals, VPC data source, Cloud Run service data sources