1
0
Fork 0
mirror of https://github.com/imjasonh/terraform-playground synced 2026-07-08 07:44:57 +00:00
terraform-playground/driftlessaf/variables.tf
copilot-swe-agent[bot] 7cbd7ac6ea Add pr-risk-scorer service and Terraform infrastructure with LLM integration
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2026-02-18 17:26:31 +00:00

75 lines
1.8 KiB
HCL

variable "project_id" {
type = string
description = "The GCP project ID."
}
variable "github_app_id" {
type = string
description = "The GitHub App ID."
}
variable "team" {
type = string
description = "Team label to apply to resources."
default = ""
}
variable "secret_version_adder" {
type = string
description = "User permitted to manage webhook secrets (e.g., user:you@company.biz)."
}
variable "deletion_protection" {
type = bool
description = "Whether to enable deletion protection on resources."
default = false
}
variable "notification_channels" {
type = list(string)
description = "List of notification channel IDs to attach to alerting policies."
}
# CI Fixer configuration
variable "enable_ci_fixer" {
type = bool
description = "Whether to enable the CI fixer agent."
default = false
}
variable "ci_fixer_model" {
type = string
description = "The Claude model to use for CI fixing."
default = "claude-sonnet-4@20250514"
}
variable "ci_fixer_max_turns" {
type = number
description = "Maximum number of fix attempts per CI failure."
default = 3
}
variable "ci_fixer_label" {
type = string
description = "GitHub label that triggers CI fixing."
default = "ci-autofix"
}
variable "ci_fixer_region" {
type = string
description = "GCP region for Vertex AI Claude API calls."
default = "us-east5"
}
# Risk Scorer configuration
variable "risk_scorer_model" {
type = string
description = "The Claude model to use for risk assessment."
default = "claude-sonnet-4@20250514"
}
variable "risk_scorer_region" {
type = string
description = "GCP region for Vertex AI Claude API calls."
default = "us-east5"
}