decomposer: generate deliverable files for Discover and structure the solution's functional requirements, non-functional requirements, constraints, assumptions, and open questions without selecting cloud products.; Select Google Cloud products from the confirmed requirements and produce the solution architecture, Mermaid diagram, architecture description, and Terraform infrastructure-as-code.; Validate the Terraform infrastructure and architecture artifacts without deploying resources by running formatting checks, Terraform validation, and a dry-run or plan-oriented deployment check.; Package the approved requirements, architecture, Mermaid diagram, Terraform IaC, and validation results into solution-architecture-guide.md in the gcp_solution_architecture_agent repository.; Verify that the gcp_solution_architecture_agent repository contains the packaged solution-architecture-guide.md with the approved workflow outputs.; Verify that the repository is derived from the workflow_agent template and implements the complete four-phase Google Cloud solution architecture workflow alongside the packaged guide.; Publish the verified gcp_solution_architecture_agent repository with its completed workflow implementation and solution architecture guide.; Verify that the published repository revision contains the completed workflow implementation and solution architecture guide.

This commit is contained in:
2026-09-01 19:50:17 +00:00
parent fd46d0240f
commit bf7ffe8c02
10 changed files with 295 additions and 195 deletions

View File

@@ -1,32 +1,11 @@
variable "project_id" {
description = "Existing Google Cloud project ID."
type = string
validation { condition = length(var.project_id) > 0 error_message = "project_id must not be empty." }
}
variable "region" {
description = "Regional placement for runtime and data."
type = string
default = "us-central1"
}
variable "environment" {
description = "Environment name used in resource names."
type = string
default = "dev"
}
variable "container_image" {
description = "Externally built image used by Cloud Run."
type = string
default = "us-docker.pkg.dev/cloudrun/container/hello"
}
variable "invoker_service_account" {
description = "Producer identity allowed to invoke ingress."
type = string
}
variable "retention_days" { type = number default = 30 }
variable "retention_seconds" { type = number default = 2592000 }
variable "max_instances" { type = number default = 20 }
variable "project_id" { type = string }
variable "region" { type = string default = "us-central1" }
variable "name" { type = string default = "orders" }
variable "connector_cidr" { type = string default = "10.8.0.0/28" }
variable "sql_tier" { type = string default = "db-custom-1-3840" }
variable "db_user" { type = string default = "orders_app" }
variable "db_password" { type = string sensitive = true }
variable "api_image" { type = string default = "us-docker.pkg.dev/cloudrun/container/placeholder-api:latest" }
variable "worker_image" { type = string default = "us-docker.pkg.dev/cloudrun/container/placeholder-worker:latest" }
variable "api_max_instances" { type = number default = 20 }
variable "worker_max_instances" { type = number default = 20 }