Dynatrace Configuration as Code concepts

  • Latest Dynatrace
  • Explanation
  • 1-min read
  • Published Jul 22, 2025

Key terms

Configuration as Code (CaC)

The practice of managing observability and security settings through YAML files. This enables automation, version control, and consistency across deployments.

Terraform Dynatrace provider

The Dynatrace Terraform provider is a dedicated provider, owned by Dynatrace, that allows users of the Hashicorp Terraform IaC tool to call Dynatrace-specific APIs and include them in their IaC and CaC process.

Key concepts

Dynatrace CaC provides observability as code and security as code to fully automate the configuration of the Dynatrace platform at any scale, from automating the standard configuration of all your Dynatrace environments to meeting specific demands for individual environments.

What is configuration as code

CaC represents an approach to managing software and application configuration data, including observability and security systems.
In a nutshell, it:

  • Allows you to configure Dynatrace declaratively without the need to setup everything in the UI.
  • Allows you to manage your Dynatrace environment observability tasks through configuration files instead of a graphical user interface.
  • Allows development teams to set up monitoring, observability, and security policies quickly and efficiently, even for large-scale applications.
  • Eliminates the need to build custom solutions and reduces the manual work of observability teams.

Why use configuration as code

Configuration files allow you to create, update, and manage your observability configurations safely, consistently, and repetitively. They can be re-used, versioned, and shared with your team.

A standardized approach to configuring Dynatrace as code has many benefits. In addition to all the advantages that a Git approach brings, such as version control and reproducibility, applying configuration as code allows:

  • Self-service observability configurations.
  • Streamlining and standardizing onboarding processes
  • Keeping configurations in sync across different environments.

Leverage observability-driven development within your developer platform

  • Reduce your deployment time by integrating Dynatrace configuration as code to streamline your application onboarding process via Golden Paths.
  • Introduce observability and security standards in your environment by integrating it into your CI/CD pipelines (e.g., via a container image) and ensuring consistency in all your stages.
  • Provide self-service possibilities, integrating observability, automation, and quality gates into your SDLC.
Related tags
Software Delivery