variable "applications" { # Multi-env (ADR-0002): each application declares the environments it deploys to. # `envs` defaults to ["prod"] so every existing entry is unchanged in behaviour — # by the elision rule the prod instance keeps the bare `` identifiers, so its # database, owner role, and all derived resources keep their exact current names # and Terraform addresses (a no-op plan). type = set(object({ name = string envs = optional(list(string), ["prod"]) })) }