streamstack
streamstack copied to clipboard
[feature] GCP Terraform harness
Summary
A Terraform harness that stands up a PicoMQ cluster on GCP, same shape as harness/terraform/aws.
The Fly page already points at GCP as the other hyperscaler. There is no harness and no docs page yet. The AWS module is the template to copy, so this is the smaller of the two cloud ports.
Shape
harness/terraform/gcp, docs page next tooperations/deployment/aws.- Cloud Run or GKE for nodes, Cloud SQL Postgres for metadata, GCS for the object store, internal load balancer, Cloud DNS, Secret Manager for the bootstrap token.
- Workload identity for GCS, no static keys on the node.
node_count = 1is--routing local.node_count >= 2is--routing redirectwith per-node hostnames.- Existing VPC + two private subnets, same opt-in as AWS
vpc_id.
Notes
- Keep outputs parallel to AWS (
endpoints,bootstrap_secret, bucket, metadata endpoint) so a bench job can target either cloud with the same script. - Start by mirroring
harness/terraform/awsfile for file. Change only the resources that have to be GCP.
@addu390 Assign me the issue so i start working on it
Hi @connect-aima, thank you! Assigned the issue to you.