<?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 Synthetic Monitor Terraform Module in Synthetic Monitoring</title>
    <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Monitor-Terraform-Module/m-p/250101#M2521</link>
    <description>&lt;P&gt;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 script block that will contain the script. I've tried a few different methods but am only getting errors back from the IDE. Is this something that is possible / if it is how should I approach implementing it. Below is one of the ways I've attempted to implement this without success.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  script {
    type = var.script_type
    script = file(var.script_file)
  }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jul 2024 15:40:52 GMT</pubDate>
    <dc:creator>J-Pollard99</dc:creator>
    <dc:date>2024-07-08T15:40:52Z</dc:date>
    <item>
      <title>Synthetic Monitor Terraform Module</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Monitor-Terraform-Module/m-p/250101#M2521</link>
      <description>&lt;P&gt;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 script block that will contain the script. I've tried a few different methods but am only getting errors back from the IDE. Is this something that is possible / if it is how should I approach implementing it. Below is one of the ways I've attempted to implement this without success.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  script {
    type = var.script_type
    script = file(var.script_file)
  }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 15:40:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Monitor-Terraform-Module/m-p/250101#M2521</guid>
      <dc:creator>J-Pollard99</dc:creator>
      <dc:date>2024-07-08T15:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Monitor Terraform Module</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Monitor-Terraform-Module/m-p/250106#M2522</link>
      <description>&lt;P&gt;It should be possible, make sure that the structure of your script is matching the reference from the docs:&lt;BR /&gt;&lt;A href="https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/resources/browser_monitor" target="_blank"&gt;dynatrace_browser_monitor | Resources | dynatrace-oss/dynatrace | Terraform | Terraform Registry&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eric_Yu_0-1720456252571.png" style="width: 436px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/21003i7119487C9F67D4A6/image-dimensions/436x269?v=v2" width="436" height="269" role="button" title="Eric_Yu_0-1720456252571.png" alt="Eric_Yu_0-1720456252571.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Seems more like a terraform question than a provider one. Want kind of errors are you getting when trying to deploy?&lt;BR /&gt;&lt;BR /&gt;Is it a simple browser monitor or are your trying to setup a clickpath?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 16:32:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Monitor-Terraform-Module/m-p/250106#M2522</guid>
      <dc:creator>Eric_Yu</dc:creator>
      <dc:date>2024-07-08T16:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Monitor Terraform Module</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Monitor-Terraform-Module/m-p/250110#M2523</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/77879"&gt;@J-Pollard99&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;In what format were you looking to introduce the script (in other words, what does the script file look like)? Mainly wondering since there's no `script` attribute inside of the `script` block.&amp;nbsp;&lt;A href="https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/resources/browser_monitor#nestedblock--script" target="_blank"&gt;https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/resources/browser_monitor#nestedblock--script&lt;/A&gt;&lt;BR /&gt;Were you referring to the script that can be generated in the UI -&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/browser-monitors-config#monitor-scripts" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/browser-monitors-config#monitor-scripts&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 16:51:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Monitor-Terraform-Module/m-p/250110#M2523</guid>
      <dc:creator>Kodai_Ishikawa</dc:creator>
      <dc:date>2024-07-08T16:51:58Z</dc:date>
    </item>
  </channel>
</rss>

