Dynatrace offers a dedicated Terraform provider to manage your monitoring environment.
Terraform power users can skip the guide below and dive straight into the Dynatrace Terraform Provider documentation on the Terraform Registry.
Install CLI and Dynatrace Terraform Provider
Install and set up Dynatrace Configuration as Code via Terraform.
Basic example with Terraform
Simple example of creating a management zone with Terraform.
Advanced example with Terraform
Advanced example of creating a management zone with Terraform.
Follow the guides
Migrate configurations between environments and export existing configurations from your environment.