<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Terraform plan doesn't find changes in exported Dynatrace tf files in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Terraform-plan-doesn-t-find-changes-in-exported-Dynatrace-tf/m-p/219484#M27790</link>
    <description>&lt;P&gt;I found my mistake.&lt;BR /&gt;It was'n mentioned in explicily, but need to define modules(folders with files) to start traking changes after init:&lt;BR /&gt;e.g.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;module &lt;/SPAN&gt;&lt;SPAN&gt;"slo_v2n" &lt;/SPAN&gt;{&lt;BR /&gt;  &lt;SPAN&gt;source &lt;/SPAN&gt;= &lt;SPAN&gt;"./configuration/modules/slo_v2n"&lt;BR /&gt;&lt;/SPAN&gt;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Aug 2023 19:24:49 GMT</pubDate>
    <dc:creator>Slawa</dc:creator>
    <dc:date>2023-08-01T19:24:49Z</dc:date>
    <item>
      <title>Terraform plan doesn't find changes in exported Dynatrace tf files</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Terraform-plan-doesn-t-find-changes-in-exported-Dynatrace-tf/m-p/219299#M27773</link>
      <description>&lt;P&gt;1. Exported session replay web privacy:&amp;nbsp;&lt;BR /&gt;&amp;gt; $DYNATRACE_TERRAFORM_BIN -export -ref -id dynatrace_session_replay_web_privacy&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Slawa_0-1690805159293.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/13229iD6CCD401DE333912/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Slawa_0-1690805159293.png" alt="Slawa_0-1690805159293.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;2. Added variables: in&amp;nbsp;___variables___.tf&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;variable "dynatrace_web_application" {
  type = any
}

variable "dynatrace_web_application_playback_masking_preset" {
  type    = string
  default = "MASK_USER_INPUT"
}

variable "dynatrace_web_application_recording_masking_preset" {
  type    = string
  default = "MASK_USER_INPUT"
}
			&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;3. Changed one of configs:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;# ID vu9U3hXa3q0AAAABAC1idWlsdGluOnNlc3Npb25yZXBsYXkud2ViLnByaXZhY3ktcHJlZmVyZW5jZXMAC0FQUExJQ0FUSU9OABAwQjJBRUU3QzlBNENBRjNDACQ2MjVjNGZiYi02NmU5LTNiZGYtYWUyYS03YWM2MzdiM2EzNTK-71TeFdrerQ
resource "dynatrace_session_replay_web_privacy" "APPLICATION-0B2AEE7C9A4CAF3C" {
  application_id     = "APPLICATION-0B2AEE7C9A4CAF3C"
  enable_opt_in_mode = false
  masking_presets {
    playback_masking_preset  = "${var.dynatrace_web_application_playback_masking_preset}"
    recording_masking_preset = "${var.dynatrace_web_application_recording_masking_preset}"
  }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. terraform plan:&amp;nbsp;No changes. Your infrastructure matches the configuration.&lt;BR /&gt;I don't found an answer from docs:&lt;BR /&gt;&lt;A href="https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2#-id" target="_blank" rel="noopener"&gt;https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2#-id&lt;/A&gt;&lt;BR /&gt;On terraform sources mentioned the plan logic is up to provider.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 13:04:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Terraform-plan-doesn-t-find-changes-in-exported-Dynatrace-tf/m-p/219299#M27773</guid>
      <dc:creator>Slawa</dc:creator>
      <dc:date>2023-07-31T13:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Terraform plan doesn't find changes in exported Dynatrace tf files</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Terraform-plan-doesn-t-find-changes-in-exported-Dynatrace-tf/m-p/219349#M27782</link>
      <description>&lt;P&gt;Hey Slawa,&lt;/P&gt;
&lt;P&gt;Unless someone has an answer here I would recommend opening a Github issue for the provider, the team that maintains it is generally very active and should be able to assist.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/dynatrace-oss/terraform-provider-dynatrace/issues" target="_blank"&gt;Issues · dynatrace-oss/terraform-provider-dynatrace (github.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 23:23:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Terraform-plan-doesn-t-find-changes-in-exported-Dynatrace-tf/m-p/219349#M27782</guid>
      <dc:creator>Fin_Ubels</dc:creator>
      <dc:date>2023-07-31T23:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Terraform plan doesn't find changes in exported Dynatrace tf files</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Terraform-plan-doesn-t-find-changes-in-exported-Dynatrace-tf/m-p/219484#M27790</link>
      <description>&lt;P&gt;I found my mistake.&lt;BR /&gt;It was'n mentioned in explicily, but need to define modules(folders with files) to start traking changes after init:&lt;BR /&gt;e.g.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;module &lt;/SPAN&gt;&lt;SPAN&gt;"slo_v2n" &lt;/SPAN&gt;{&lt;BR /&gt;  &lt;SPAN&gt;source &lt;/SPAN&gt;= &lt;SPAN&gt;"./configuration/modules/slo_v2n"&lt;BR /&gt;&lt;/SPAN&gt;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 19:24:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Terraform-plan-doesn-t-find-changes-in-exported-Dynatrace-tf/m-p/219484#M27790</guid>
      <dc:creator>Slawa</dc:creator>
      <dc:date>2023-08-01T19:24:49Z</dc:date>
    </item>
  </channel>
</rss>

