Problem statement
Same as Terraform AWS, but for GCP (Cloud Run, Cloud SQL, Memorystore).
Proposed solution
Implement TerraformGCPGenerator in generators/common/terraform_gcp.go.
Name(): "common-terraform-gcp"
Language(): "*"
Modules(): ["terraform-gcp"]
Apply() generates infrastructure/ with:
cloud_run.tf — Cloud Run service
cloud_sql.tf — only if postgres module is present
memorystore.tf — only if redis module is present
artifact_registry.tf
iam.tf
variables.tf, outputs.tf, main.tf
README.md
Alternatives considered
No response
Area
Core
Additional context
No response
Problem statement
Same as Terraform AWS, but for GCP (Cloud Run, Cloud SQL, Memorystore).
Proposed solution
Implement
TerraformGCPGeneratoringenerators/common/terraform_gcp.go.Name():"common-terraform-gcp"Language():"*"Modules():["terraform-gcp"]Apply()generatesinfrastructure/with:cloud_run.tf— Cloud Run servicecloud_sql.tf— only ifpostgresmodule is presentmemorystore.tf— only ifredismodule is presentartifact_registry.tfiam.tfvariables.tf,outputs.tf,main.tfREADME.mdAlternatives considered
No response
Area
Core
Additional context
No response