# \#terraform

**URL:** https://community.dynatrace.com/tag/terraform/577.md

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

---

## [Managing Dynatrace IAM as code with VS Code, GitHub Copilot, pull requests and Spacelift](https://community.dynatrace.com/t/managing-dynatrace-iam-as-code-with-vs-code-github-copilot-pull-requests-and-spacelift/57267)

<div class="topic-metadata">

**Author:** [@Georgi\_V](https://community.dynatrace.com/u/Georgi_V)\
**Replies:** 0\
**Last updated:** [October 27, 2026, 2:22pm UTC](https://community.dynatrace.com/t/managing-dynatrace-iam-as-code-with-vs-code-github-copilot-pull-requests-and-spacelift/57267 "2026-10-27T14:22:07Z")

</div>

Access control in Dynatrace gets complicated quickly: groups, policies, bindings, environments and data-scoping parameters. This post shows a workflow that keeps it reviewable and repeatable. You describe access in Terra…

---

## [Terraform provider roadmap for Synthetic Platform API](https://community.dynatrace.com/t/terraform-provider-roadmap-for-synthetic-platform-api/57185)

<div class="topic-metadata">

**Author:** [@simepo](https://community.dynatrace.com/u/simepo)\
**Replies:** 0\
**Last updated:** [October 19, 2026, 1:06pm UTC](https://community.dynatrace.com/t/terraform-provider-roadmap-for-synthetic-platform-api/57185 "2026-10-19T13:06:32Z")

</div>

What is the Terraform-provider roadmap for Synthetic Platform API support, so we can remove tenant-wide ExternalSyntheticIntegration access?

---

## [Error on trying to publish a new workflow using Terraform and Dynatrace API](https://community.dynatrace.com/t/error-on-trying-to-publish-a-new-workflow-using-terraform-and-dynatrace-api/57015)

<div class="topic-metadata">

**Author:** [@cometa](https://community.dynatrace.com/u/cometa)\
**Replies:** 1\
**Last updated:** [September 28, 2026, 7:23am UTC](https://community.dynatrace.com/t/error-on-trying-to-publish-a-new-workflow-using-terraform-and-dynatrace-api/57015 "2026-09-28T07:23:35Z")

</div>

I am trying to publish a manually exported working Dynatrace JSON workflow as a Terraform file in a Github pipeline and it fails to be published via Dynatrace POST https://{environmentid}.apps.dynatrace.com/platform/auto…

---

## [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…

---

## [Terraform provider Platform tokens/OAuth client resource](https://community.dynatrace.com/t/terraform-provider-platform-tokens-oauth-client-resource/56306)

<div class="topic-metadata">

**Author:** [@mari\_steiner](https://community.dynatrace.com/u/mari_steiner)\
**Replies:** 2\
**Last updated:** [July 29, 2026, 8:57am UTC](https://community.dynatrace.com/t/terraform-provider-platform-tokens-oauth-client-resource/56306 "2026-07-29T08:57:55Z")

</div>

We’d like to manage via the dynatrace terraform provider: Platform tokens OAuth clients could this be added? thanks a lot!

---

## [dynatrace-oss/dynatrace - terraform](https://community.dynatrace.com/t/dynatrace-oss-dynatrace-terraform/56356)

<div class="topic-metadata">

**Author:** [@Martin-Douglas](https://community.dynatrace.com/u/Martin-Douglas)\
**Replies:** 1\
**Last updated:** [July 2, 2026, 9:59pm UTC](https://community.dynatrace.com/t/dynatrace-oss-dynatrace-terraform/56356 "2026-07-02T21:59:13Z")

</div>

I reviewed the Terraform provider docs for version 1.100.0 and noticed that resource dynatrace\_platform\_bucket does not yet support user.events, user.sessions, or security.events table types. When will those be supported…

---

## [From Manual Clicks to Code: Managing Dynatrace Extension Configurations at Scale](https://community.dynatrace.com/t/from-manual-clicks-to-code-managing-dynatrace-extension-configurations-at-scale/56307)

<div class="topic-metadata">

**Author:** [@dczupryn-dt](https://community.dynatrace.com/u/dczupryn-dt)\
**Replies:** 0\
**Last updated:** [June 26, 2026, 12:12pm UTC](https://community.dynatrace.com/t/from-manual-clicks-to-code-managing-dynatrace-extension-configurations-at-scale/56307 "2026-06-26T12:12:11Z")

</div>

The Problem Nobody Talks About Every our Dynatrace tenant is a snowflake.When the Demoability team operates six Dynatrace environments — from playground-dev on the sprint ring to the customer-facing live tenant — each o…

---

## [Best Resources to Target with Terraform](https://community.dynatrace.com/t/best-resources-to-target-with-terraform/56144)

<div class="topic-metadata">

**Author:** [@woodchucker](https://community.dynatrace.com/u/woodchucker)\
**Replies:** 1\
**Last updated:** [June 11, 2026, 12:16pm UTC](https://community.dynatrace.com/t/best-resources-to-target-with-terraform/56144 "2026-06-11T12:16:30Z")

</div>

We are beginning our adoption/ implementation of Dynatrace and before we’re in too deep we want to try to capture some low hanging fruit with IaC. We’re trying to greenfield as much as possible, at the same time we’re al…

---

## [Terraform Provider Support for new Clouds Connections (dynatrace-oss)](https://community.dynatrace.com/t/terraform-provider-support-for-new-clouds-connections-dynatrace-oss/56148)

<div class="topic-metadata">

**Author:** [@CloudMOGeo](https://community.dynatrace.com/u/CloudMOGeo)\
**Replies:** 0\
**Last updated:** [June 11, 2026, 9:55am UTC](https://community.dynatrace.com/t/terraform-provider-support-for-new-clouds-connections-dynatrace-oss/56148 "2026-06-11T09:55:45Z")

</div>

Hi There, I’m wondering whether the new Clouds connections are on the roadmap for the dynatrace-oss terraform provider. If so, when can we expect it to be released? Create a new Azure connection — Dynatrace Docs Many…

---

## [Terraform provider backend state](https://community.dynatrace.com/t/terraform-provider-backend-state/55892)

<div class="topic-metadata">

**Author:** [@tarjei](https://community.dynatrace.com/u/tarjei)\
**Replies:** 3\
**Last updated:** [June 4, 2026, 4:32pm UTC](https://community.dynatrace.com/t/terraform-provider-backend-state/55892 "2026-06-04T16:32:56Z")

</div>

Hi! I would like to import state of a set of configurations directly to my backend (s3 bucket / azurerm) but I cannot see any way of tweaking this. Any suggestions?

---

## [Terraform Provider Export / Webhook header secrets](https://community.dynatrace.com/t/terraform-provider-export-webhook-header-secrets/55457)

<div class="topic-metadata">

**Author:** [@Ed\_Cox](https://community.dynatrace.com/u/Ed_Cox)\
**Replies:** 0\
**Last updated:** [April 2, 2026, 1:13pm UTC](https://community.dynatrace.com/t/terraform-provider-export-webhook-header-secrets/55457 "2026-04-02T13:13:28Z")

</div>

Using v1.93.0 Dynatrace Terraform Provider When exporting Webhook notification, the headers are exported as headers { header { name = “Authorization” secret\_value = “$${state.secret\_value}” value =…

---

## [Terraform export of NEW Dashboards app](https://community.dynatrace.com/t/terraform-export-of-new-dashboards-app/54329)

<div class="topic-metadata">

**Author:** [@tthi](https://community.dynatrace.com/u/tthi)\
**Replies:** 2\
**Last updated:** [December 9, 2025, 9:10am UTC](https://community.dynatrace.com/t/terraform-export-of-new-dashboards-app/54329 "2025-12-09T09:10:35Z")

</div>

Hi all, Just wondering if anyone has had luck exporting dashboards from the new dashboard app? I’m running -export -import-state and it’s giving me dashboard and json\_dashboard modules. I am able to see dashboards creat…

---

## [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…

---

## [Terraform Duplicating Configs](https://community.dynatrace.com/t/terraform-duplicating-configs/52328)

<div class="topic-metadata">

**Author:** [@t\_thi](https://community.dynatrace.com/u/t_thi)\
**Replies:** 2\
**Last updated:** [July 4, 2025, 8:26am UTC](https://community.dynatrace.com/t/terraform-duplicating-configs/52328 "2025-07-04T08:26:33Z")

</div>

Hi all, When using Terraform Dynatrace modules namely dynatrace\_mangement\_zones\_v2 and metric\_events I have notice that changes made to configs created in Dynatrace would generate a new config setting instead of updatin…

---

## [Allow Outbound connections - Terraform](https://community.dynatrace.com/t/allow-outbound-connections-terraform/51089)

<div class="topic-metadata">

**Author:** [@Mattw1](https://community.dynatrace.com/u/Mattw1)\
**Replies:** 1\
**Last updated:** [May 7, 2025, 7:16pm UTC](https://community.dynatrace.com/t/allow-outbound-connections-terraform/51089 "2025-05-07T19:16:18Z")

</div>

Hey all, I’m currently in the process of setting up our Dynatrace SaaS tenants into CaC via terraform provider. I can’t find anything at the moment on implementing Allow external requests | Dynatrace Developer via terra…

---

## [Examples of creating dashboards using terraform and the dynatrace\_document](https://community.dynatrace.com/t/examples-of-creating-dashboards-using-terraform-and-the-dynatrace-document/47174)

<div class="topic-metadata">

**Author:** [@AlbertY](https://community.dynatrace.com/u/AlbertY)\
**Replies:** 2\
**Last updated:** [April 2, 2025, 3:50pm UTC](https://community.dynatrace.com/t/examples-of-creating-dashboards-using-terraform-and-the-dynatrace-document/47174 "2025-04-02T15:50:08Z")

</div>

Hello community, I’m attempting to create dashboards using terraform (we arent going down the path of Monaco). I have been told in order to use the new dashboard app, I would have to use the dynatrace\_document which I …

---

## [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 …

---

## [Terraform script execution error](https://community.dynatrace.com/t/terraform-script-execution-error/49561)

<div class="topic-metadata">

**Author:** [@Manoharsomi](https://community.dynatrace.com/u/Manoharsomi)\
**Replies:** 5\
**Last updated:** [February 14, 2025, 9:45am UTC](https://community.dynatrace.com/t/terraform-script-execution-error/49561 "2025-02-14T09:45:40Z")

</div>

I am trying to configure the Cisco network device configuration through the Terraform script. I downloaded the Extension from Hub, and init, plan commands are successfully executed and after executing apply command, I am…

---

## [Dynatrace Managed: Terraform to Manage User Group](https://community.dynatrace.com/t/dynatrace-managed-terraform-to-manage-user-group/49852)

<div class="topic-metadata">

**Author:** [@prasadveerangan](https://community.dynatrace.com/u/prasadveerangan)\
**Replies:** 1\
**Last updated:** [January 21, 2025, 10:43pm UTC](https://community.dynatrace.com/t/dynatrace-managed-terraform-to-manage-user-group/49852 "2025-01-21T22:43:05Z")

</div>

Dear Team, I have exported my current configuration using Terraform, but I am encountering an issue. The user groups have been exported; however, I do not see any management zone mappings in the user group .tf file. I …

---

## [Use the Dynatrace Export Utility with Terraform Workflows](https://community.dynatrace.com/t/use-the-dynatrace-export-utility-with-terraform-workflows/39510)

<div class="topic-metadata">

**Author:** [@oluseyi](https://community.dynatrace.com/u/oluseyi)\
**Replies:** 8\
**Last updated:** [October 21, 2024, 6:09am UTC](https://community.dynatrace.com/t/use-the-dynatrace-export-utility-with-terraform-workflows/39510 "2024-10-21T06:09:32Z")

</div>

Summary: This post explains how the Dynatrace export utility can be used in Terraform workflows. It covers what the utility exports, how it interacts with Monaco/Terraform, and considerations for versioning. How can I u…

---

## [Dynatrace Dashboard (Grail) via terraform](https://community.dynatrace.com/t/dynatrace-dashboard-grail-via-terraform/48000)

<div class="topic-metadata">

**Author:** [@Kaayush](https://community.dynatrace.com/u/Kaayush)\
**Replies:** 1\
**Last updated:** [September 26, 2024, 2:28pm UTC](https://community.dynatrace.com/t/dynatrace-dashboard-grail-via-terraform/48000 "2024-09-26T14:28:50Z")

</div>

Hi, this is more of a YSK. It took me sometime to get the grail(swagger) dashboard to be deployed via Terraform. I have listed down a basic code in reply.

---

## [Synthetic Monitor Terraform Module](https://community.dynatrace.com/t/synthetic-monitor-terraform-module/46506)

<div class="topic-metadata">

**Author:** [@J-Pollard99](https://community.dynatrace.com/u/J-Pollard99)\
**Replies:** 2\
**Last updated:** [July 8, 2024, 4:51pm UTC](https://community.dynatrace.com/t/synthetic-monitor-terraform-module/46506 "2024-07-08T16:51:58Z")

</div>

I’m currently setting up a terraform module for synthetics. Due to how we are currently using Dynatrace I want to keep the module as simple as possible for people to use. What I would like to do is pass in a file for the…

---

## [Terraform provider](https://community.dynatrace.com/t/terraform-provider/46341)

<div class="topic-metadata">

**Author:** [@danijela](https://community.dynatrace.com/u/danijela)\
**Replies:** 2\
**Last updated:** [June 28, 2024, 4:14am UTC](https://community.dynatrace.com/t/terraform-provider/46341 "2024-06-28T04:14:58Z")

</div>

Hello, I am trying to user terraform dynatrace but have an issue with terraform init. Initializing provider plugins… - Finding dynatrace-oss/dynatrace versions matching “1.55.1”… ╷ │ Error: Failed to install provide…

---

## [Enabling GCP Monitoring Extensions2.0 via Terraform](https://community.dynatrace.com/t/enabling-gcp-monitoring-extensions2-0-via-terraform/45163)

<div class="topic-metadata">

**Author:** [@jonno56](https://community.dynatrace.com/u/jonno56)\
**Replies:** 2\
**Last updated:** [May 17, 2024, 7:44am UTC](https://community.dynatrace.com/t/enabling-gcp-monitoring-extensions2-0-via-terraform/45163 "2024-05-17T07:44:27Z")

</div>

I am using Terraform to enable all GCP extensions 2.0 in my tenant. Considering the following blocks: # Get available extension 2.0 items from hub data "dynatrace\_hub\_items" "extension2\_0" { type = "EXTENSION2" } # …

---

## [Create web request rule for individual service from Terraform](https://community.dynatrace.com/t/create-web-request-rule-for-individual-service-from-terraform/43608)

<div class="topic-metadata">

**Author:** [@saheba02](https://community.dynatrace.com/u/saheba02)\
**Replies:** 2\
**Last updated:** [January 23, 2024, 10:00pm UTC](https://community.dynatrace.com/t/create-web-request-rule-for-individual-service-from-terraform/43608 "2024-01-23T22:00:07Z")

</div>

Hello While looking terraform provider document with resource dynatrace\_request\_naming, couldnt get much help. is there any way to get example for creating this ?

---

## [What permissions are needed to enable the "latest Dynatrace" toggle?](https://community.dynatrace.com/t/what-permissions-are-needed-to-enable-the-latest-dynatrace-toggle/41155)

<div class="topic-metadata">

**Author:** [@strunzo](https://community.dynatrace.com/u/strunzo)\
**Replies:** 6\
**Last updated:** [September 8, 2023, 7:48pm UTC](https://community.dynatrace.com/t/what-permissions-are-needed-to-enable-the-latest-dynatrace-toggle/41155 "2023-09-08T19:48:37Z")

</div>

Hello! We recently created a bunch of access groups via terraform and they do not have permission to toggle to the new Dynatrace UI. I couldn’t find any documentation on this, can anyone help? The groups all have the…

---

## [dynatrace-oss terraform provider - exporter always returns 401](https://community.dynatrace.com/t/dynatrace-oss-terraform-provider-exporter-always-returns-401/40311)

<div class="topic-metadata">

**Author:** [@Kanne](https://community.dynatrace.com/u/Kanne)\
**Replies:** 1\
**Last updated:** [June 21, 2023, 3:18pm UTC](https://community.dynatrace.com/t/dynatrace-oss-terraform-provider-exporter-always-returns-401/40311 "2023-06-21T15:18:11Z")

</div>

Hi, I tried to export existing configuration but all files are empty and all requests returned 401 http.log : \<span\>2023\</span\>/\<span\>06\</span\>/\<span\>21 \</span\>\<span\>14:34:34 \</span\>\<span\>401\</span\> Unauthorized {\<spa…

---

## [exit status 1 Terraform Export](https://community.dynatrace.com/t/exit-status-1-terraform-export/38942)

<div class="topic-metadata">

**Author:** [@abnerlusung](https://community.dynatrace.com/u/abnerlusung)\
**Replies:** 3\
**Last updated:** [May 26, 2023, 7:54am UTC](https://community.dynatrace.com/t/exit-status-1-terraform-export/38942 "2023-05-26T07:54:54Z")

</div>

Hi all, Using terraform-provider-dynatrace, I want to export the web applications. My setup are the following: Environment variables (See attached): DYNATRACE\_API\_TOKEN DYNATRACE\_ENV\_URL DYNATRACE\_TARGET\_FOLDER Do…

---

## [Terraform export](https://community.dynatrace.com/t/terraform-export/38918)

<div class="topic-metadata">

**Author:** [@abnerlusung](https://community.dynatrace.com/u/abnerlusung)\
**Replies:** 2\
**Last updated:** [March 21, 2023, 9:09am UTC](https://community.dynatrace.com/t/terraform-export/38918 "2023-03-21T09:09:52Z")

</div>

Hi all, I have setup my environment variables: DYNATRACE\_ENV\_URL DYNATRACE\_API\_TOKEN DYNATRACE\_ENV\_URL After running my command: terraform-provider-dynatrace\_v1.23.0.exe -export dynatrace\_mobile\_application I’m ge…

[Next page](https://community.dynatrace.com/tag/terraform/577.md?match_all_tags=true&page=1&tags%5B%5D=terraform)
