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>
34 lines
539 B
HCL
34 lines
539 B
HCL
variable "prefix" {
|
|
type = string
|
|
}
|
|
|
|
variable "profile" {
|
|
type = string
|
|
default = "standard_cost_saver"
|
|
}
|
|
|
|
variable "profile_config" {
|
|
type = object({
|
|
size = string
|
|
auto_suspend = number
|
|
auto_resume = bool
|
|
initially_suspended = bool
|
|
})
|
|
}
|
|
|
|
locals {
|
|
warehouse_name = "${var.prefix}_WH"
|
|
}
|
|
|
|
output "warehouse_name" {
|
|
value = local.warehouse_name
|
|
}
|
|
|
|
output "config" {
|
|
value = var.profile_config
|
|
}
|
|
|
|
output "planned_objects" {
|
|
value = ["warehouse:${local.warehouse_name}"]
|
|
}
|