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>
22 lines
689 B
HCL
22 lines
689 B
HCL
terraform {
|
|
required_version = ">= 1.5.0"
|
|
# Configure a remote backend in customer CI (S3/Azure/GCS). Local is fine for demos.
|
|
}
|
|
|
|
# Generated and updated by `platformctl plan`.
|
|
# Pin blueprint modules via relative path in monorepo demos, or a module registry in production.
|
|
|
|
locals {
|
|
intent = yamldecode(file("${path.module}/../intent.yaml"))
|
|
}
|
|
|
|
module "sky_lattice" {
|
|
source = "../../../blueprint/modules/environment"
|
|
|
|
customer = local.intent.customer
|
|
environment = try(local.intent.environments[0], "dev")
|
|
env_strategy = try(local.intent.env_strategy, "database_per_env")
|
|
}
|
|
|
|
# Per-domain and warehouse modules are rendered into planned_objects.tf.json by platformctl.
|