mirror of
https://github.com/imjasonh/terraform-playground
synced 2026-07-06 23:12:22 +00:00
Use configurable region for Vertex AI Claude API calls
This commit is contained in:
parent
390a2400a2
commit
2a82eb8ff1
2 changed files with 7 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ module "pr-reconciler" {
|
|||
var.enable_ci_fixer ? [
|
||||
{ name = "ENABLE_CI_FIXER", value = "true" },
|
||||
{ name = "GCP_PROJECT_ID", value = var.project_id },
|
||||
{ name = "GCP_REGION", value = keys(module.networking.regional-networks)[0] },
|
||||
{ name = "GCP_REGION", value = var.ci_fixer_region },
|
||||
{ name = "CLAUDE_MODEL", value = var.ci_fixer_model },
|
||||
{ name = "MAX_TURNS", value = tostring(var.ci_fixer_max_turns) },
|
||||
{ name = "CI_FIXER_LABEL", value = var.ci_fixer_label },
|
||||
|
|
|
|||
|
|
@ -54,3 +54,9 @@ variable "ci_fixer_label" {
|
|||
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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue