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:
32
terraform/variables.tf
Normal file
32
terraform/variables.tf
Normal file
@@ -0,0 +1,32 @@
|
||||
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 }
|
||||
Reference in New Issue
Block a user