Dynatrace offers a dedicated Terraform provider to manage your monitoring environment.
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.