sky-lattice/blueprint/modules/service_principals/main.tf
VG 611ad214fe Initial Sky Lattice scaffold: blueprint, platformctl, and docs.
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>
2026-07-15 01:48:36 -04:00

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}"]
}