Dynatrace offers a dedicated Terraform provider to manage your monitoring environment.
Terraform, by HashiCorp, is a widely adopted Infrastructure-as-Code (IaC) tool.
The Dynatrace Terraform provider is a library that allows you to use the Terraform syntax and functionalities to create a custom configuration (resource), such as a Dynatrace dashboard, workflow, or custom alert.
Additionally, it provides data sources such as the entity ID of a service detected by Dynatrace. The Dynatrace Terraform provider allows you to pull information from these data sources into Dynatrace.
To install Terraform CLI, see Install Terraform CLI and set up Configuration as Code via Terraform.
Optional Migrate configurations between environments and export existing configurations from your environment. For more information, see Configuration as Code via Terraform overview.
Official Terraform documentation:
Further Dynatrace documentation and material: