# \#configuration-as-code

**URL:** https://community.dynatrace.com/tag/configuration-as-code/233.md

[Latest](https://community.dynatrace.com/latest.md) · [Categories](https://community.dynatrace.com/categories.md) · [Tags](https://community.dynatrace.com/tags.md)

---

## [Deploying/Managing/Configuring Kubernetes as code in Dynatrace using Terraform](https://community.dynatrace.com/t/deploying-managing-configuring-kubernetes-as-code-in-dynatrace-using-terraform/56844)

<div class="topic-metadata">

**Author:** [@Vasan](https://community.dynatrace.com/u/Vasan)\
**Replies:** 0\
**Last updated:** [September 1, 2026, 11:47am UTC](https://community.dynatrace.com/t/deploying-managing-configuring-kubernetes-as-code-in-dynatrace-using-terraform/56844 "2026-09-01T11:47:37Z")

</div>

Has anyone done end to end config as code for Kubernetes in Dynatrace using Terraform? If so, I would be grateful if the code can be shared with me, please. And indeed also for other functionality within Dynatrace. We ha…

---

## [New AWS  integration and API](https://community.dynatrace.com/t/new-aws-integration-and-api/56249)

<div class="topic-metadata">

**Author:** [@Jerome](https://community.dynatrace.com/u/Jerome)\
**Replies:** 3\
**Last updated:** [June 24, 2026, 12:18am UTC](https://community.dynatrace.com/t/new-aws-integration-and-api/56249 "2026-06-24T00:18:32Z")

</div>

Hello, We plan to use the new AWS integration directly from GitHub and we plan to do it all in code. With all the step thru API or Terrfaorm script to create role, firehose, … Where can we find some documentation abo…

---

## [Monaco support state management](https://community.dynatrace.com/t/monaco-support-state-management/47801)

<div class="topic-metadata">

**Author:** [@RishiSuthar](https://community.dynatrace.com/u/RishiSuthar)\
**Replies:** 5\
**Last updated:** [February 9, 2026, 11:53am UTC](https://community.dynatrace.com/t/monaco-support-state-management/47801 "2026-02-09T11:53:56Z")

</div>

Hi, Does Monaco support state like Terraform? Ex. If dashboard already exists in the target and you modify it in the source system. When performing the push with Monaco will Monaco recognize the same dashboard exists b…

---

## [PRO TIP - Build dashboards with Dashboard snippets with Monaco Configuration as code](https://community.dynatrace.com/t/pro-tip-build-dashboards-with-dashboard-snippets-with-monaco-configuration-as-code/54569)

<div class="topic-metadata">

**Author:** [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Replies:** 0\
**Last updated:** [January 8, 2026, 5:15pm UTC](https://community.dynatrace.com/t/pro-tip-build-dashboards-with-dashboard-snippets-with-monaco-configuration-as-code/54569 "2026-01-08T17:15:03Z")

</div>

Building reusable dashboards is not easy. Sometimes you need to include the same set of widgets across your dashboards and make changes in a single place in your config as code. Dynatrace Monaco has supported the file p…

---

## [Terraform : getting unmarshal error: unexpected end of JSON input](https://community.dynatrace.com/t/terraform-getting-unmarshal-error-unexpected-end-of-json-input/53794)

<div class="topic-metadata">

**Author:** [@gilles\_tabary](https://community.dynatrace.com/u/gilles_tabary)\
**Replies:** 1\
**Last updated:** [October 21, 2025, 4:11pm UTC](https://community.dynatrace.com/t/terraform-getting-unmarshal-error-unexpected-end-of-json-input/53794 "2025-10-21T16:11:05Z")

</div>

Hello. Trying to use terraform provider dynatrace-oss/dynatrace 1.84.1 in a gitlab pipline setup. terraform plan works then terraform apply fail : Error: POST https://mydynthost/e/tenentid/api/v2/settings/objects?re…

---

## [Anomaly detection settings on multiple host groups](https://community.dynatrace.com/t/anomaly-detection-settings-on-multiple-host-groups/51669)

<div class="topic-metadata">

**Author:** [@Aymeric\_M](https://community.dynatrace.com/u/Aymeric_M)\
**Replies:** 2\
**Last updated:** [July 17, 2025, 3:25pm UTC](https://community.dynatrace.com/t/anomaly-detection-settings-on-multiple-host-groups/51669 "2025-07-17T15:25:13Z")

</div>

I need to set the same settings on multiple hostgroups (a lot, too much to be doing it manually). I thought about using Monaco since it support Go templating. But that seems to be limited to the json template files and…

---

## [Bucket assignment question with matchesvalue](https://community.dynatrace.com/t/bucket-assignment-question-with-matchesvalue/51265)

<div class="topic-metadata">

**Author:** [@dynatrace\_curio](https://community.dynatrace.com/u/dynatrace_curio)\
**Replies:** 1\
**Last updated:** [April 16, 2025, 10:34pm UTC](https://community.dynatrace.com/t/bucket-assignment-question-with-matchesvalue/51265 "2025-04-16T22:34:07Z")

</div>

Hello everybody, I’m using Monaco with Dynatrace. I’m trying to configure the bucket to extend the log retention period for ONLY all k8s located in a management zone. I know that I can use in the Matcher field this co…

---

## [Monaco Download based on tags](https://community.dynatrace.com/t/monaco-download-based-on-tags/51126)

<div class="topic-metadata">

**Author:** [@avinashpodisett](https://community.dynatrace.com/u/avinashpodisett)\
**Replies:** 3\
**Last updated:** [April 9, 2025, 4:19pm UTC](https://community.dynatrace.com/t/monaco-download-based-on-tags/51126 "2025-04-09T16:19:17Z")

</div>

Hi currently i am download all synthetic scripts using Monaco Download. Is there a way to limit the download by tags or entity id’s ? Attached is the manifest file that i am using. \<span\>monaco \</span\>download --ma…

---

## [Best Practices for Organizing Terraform Configuration for Dynatrace](https://community.dynatrace.com/t/best-practices-for-organizing-terraform-configuration-for-dynatrace/49999)

<div class="topic-metadata">

**Author:** [@lwaldrop](https://community.dynatrace.com/u/lwaldrop)\
**Replies:** 3\
**Last updated:** [April 1, 2025, 8:45pm UTC](https://community.dynatrace.com/t/best-practices-for-organizing-terraform-configuration-for-dynatrace/49999 "2025-04-01T20:45:33Z")

</div>

Hi everyone, I’m working on implementing a Terraform configuration for Dynatrace across multiple environments (e.g., prod, test). I have no issues exporting the existing configuration or importing state, but I’m looking…

---

## [\[API\] How to get alertingprofile ID](https://community.dynatrace.com/t/api-how-to-get-alertingprofile-id/41600)

<div class="topic-metadata">

**Author:** [@Martin\_LEKPA](https://community.dynatrace.com/u/Martin_LEKPA)\
**Replies:** 9\
**Last updated:** [March 6, 2025, 5:21pm UTC](https://community.dynatrace.com/t/api-how-to-get-alertingprofile-id/41600 "2025-03-06T17:21:45Z")

</div>

Hi, I want to get the ID on alertingprofile. I use Dynatrace environment API / Settings - Objects. In the output of \[GET\] /settings/objects I have objectId but not the alertingprofileid. How to get it? { \<span …

---

## [Monaco for Configuration migration from 1 DT Cluster to another DT Cluster](https://community.dynatrace.com/t/monaco-for-configuration-migration-from-1-dt-cluster-to-another-dt-cluster/45720)

<div class="topic-metadata">

**Author:** [@jalpeshs](https://community.dynatrace.com/u/jalpeshs)\
**Replies:** 2\
**Last updated:** [May 22, 2024, 7:03am UTC](https://community.dynatrace.com/t/monaco-for-configuration-migration-from-1-dt-cluster-to-another-dt-cluster/45720 "2024-05-22T07:03:44Z")

</div>

Hi Team, We are migrating Application monitoring from 1 DT Cluster to another DT cluster. As per doc we can use Monaco for Configuration migration . Anyone used Monaco for Configuration migration ? Regards, Jalpesh …

---

## [Service-level objective (SLO) list takes a lot of time to load](https://community.dynatrace.com/t/service-level-objective-slo-list-takes-a-lot-of-time-to-load/42925)

<div class="topic-metadata">

**Author:** [@MonikaBalogh](https://community.dynatrace.com/u/MonikaBalogh)\
**Replies:** 0\
**Last updated:** [December 5, 2023, 3:00pm UTC](https://community.dynatrace.com/t/service-level-objective-slo-list-takes-a-lot-of-time-to-load/42925 "2023-12-05T15:00:00Z")

</div>

The SLO ( Service-level objective) calculation depends on real-time metric queries, so the filter used on an SLO is crucial for calculation performance. If your SLO list is very slow, check the entity filters on your def…

---

## [Monaco V1: End Of Life](https://community.dynatrace.com/t/monaco-v1-end-of-life/42032)

<div class="topic-metadata">

**Author:** [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Replies:** 2\
**Last updated:** [November 30, 2023, 9:36am UTC](https://community.dynatrace.com/t/monaco-v1-end-of-life/42032 "2023-11-30T09:36:23Z")

</div>

Hi, Monaco V1 and Monaco V2 are coexisting right now. Monaco V2 is not back compatible with V1, and configuration can be converted from V1 to V2. My question is, is Monaco V1 already deprecated? If yes, do we know some…
