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>
24 lines
355 B
HCL
24 lines
355 B
HCL
variable "prefix" {
|
|
type = string
|
|
}
|
|
|
|
variable "enabled" {
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
locals {
|
|
users = var.enabled ? {
|
|
terraform = "${var.prefix}_TF_SVC"
|
|
loader = "${var.prefix}_LOADER_SVC"
|
|
} : {}
|
|
}
|
|
|
|
output "service_users" {
|
|
value = local.users
|
|
}
|
|
|
|
output "planned_objects" {
|
|
value = [for k, v in local.users : "user:${v}"]
|
|
}
|