dtz_context
last updated: 2025-07-10
The dtz_context
resource allows you to create, update, and delete contexts in the DownToZero.cloud service. A context represents a specific configuration or environment within the DTZ platform.
Example Usage
resource "dtz_context" "example" {
alias = "production"
}
Schema
Required
alias
(String) A user-defined alias for the context.
Read-Only
id
(String) The ID of this resource.
Import
Import is supported using the following syntax:
terraform import dtz_context.example <context_id>