22 lines
689 B
Terraform
22 lines
689 B
Terraform
|
|
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.
|