Encode intent/decision/plan workflow for Snowflake platform delivery so engagements share a durable recipe instead of one-off LLM chats. Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
396 B
HCL
25 lines
396 B
HCL
variable "customer" {
|
|
type = string
|
|
}
|
|
|
|
variable "environment" {
|
|
type = string
|
|
}
|
|
|
|
variable "env_strategy" {
|
|
type = string
|
|
default = "database_per_env"
|
|
}
|
|
|
|
locals {
|
|
prefix = var.env_strategy == "database_per_env" ? "${upper(var.customer)}_${upper(var.environment)}" : upper(var.customer)
|
|
}
|
|
|
|
output "prefix" {
|
|
value = local.prefix
|
|
}
|
|
|
|
output "environment" {
|
|
value = var.environment
|
|
}
|