<?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 exit status 1 Terraform Export in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/exit-status-1-Terraform-Export/m-p/207611#M25272</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Using&amp;nbsp;terraform-provider-dynatrace, I want to export the web applications.&lt;/P&gt;&lt;P&gt;My setup are the following:&lt;/P&gt;&lt;P&gt;Environment variables (See attached):&lt;/P&gt;&lt;P&gt;DYNATRACE_API_TOKEN&lt;BR /&gt;DYNATRACE_ENV_URL&lt;BR /&gt;DYNATRACE_TARGET_FOLDER&lt;/P&gt;&lt;P&gt;Downloaded the 1.23.0_windows_amd64&lt;/P&gt;&lt;P&gt;In the command line, I ran the following:&amp;nbsp;&lt;BR /&gt;terraform-provider-dynatrace_v1.23.0.exe -export dynatrace_web_application&lt;/P&gt;&lt;P&gt;See screenshots:&lt;/P&gt;&lt;P&gt;Terraform-Export0.png - shows environment variables&lt;/P&gt;&lt;P&gt;Terraform-Export1.png - shows the token&amp;nbsp;&lt;/P&gt;&lt;P&gt;Terraform-Export2.png - shows postman working&lt;/P&gt;&lt;P&gt;Terraform-Export3.png - shows failed run in command line&lt;/P&gt;&lt;P&gt;Terraform-Export4.png - shows the folder after the run&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem: Returns exit status 1.&lt;/P&gt;&lt;P&gt;Please help on successfully running the export.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abner&lt;/P&gt;</description>
    <pubDate>Wed, 22 Mar 2023 07:19:41 GMT</pubDate>
    <dc:creator>abnerlusung</dc:creator>
    <dc:date>2023-03-22T07:19:41Z</dc:date>
    <item>
      <title>exit status 1 Terraform Export</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/exit-status-1-Terraform-Export/m-p/207611#M25272</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Using&amp;nbsp;terraform-provider-dynatrace, I want to export the web applications.&lt;/P&gt;&lt;P&gt;My setup are the following:&lt;/P&gt;&lt;P&gt;Environment variables (See attached):&lt;/P&gt;&lt;P&gt;DYNATRACE_API_TOKEN&lt;BR /&gt;DYNATRACE_ENV_URL&lt;BR /&gt;DYNATRACE_TARGET_FOLDER&lt;/P&gt;&lt;P&gt;Downloaded the 1.23.0_windows_amd64&lt;/P&gt;&lt;P&gt;In the command line, I ran the following:&amp;nbsp;&lt;BR /&gt;terraform-provider-dynatrace_v1.23.0.exe -export dynatrace_web_application&lt;/P&gt;&lt;P&gt;See screenshots:&lt;/P&gt;&lt;P&gt;Terraform-Export0.png - shows environment variables&lt;/P&gt;&lt;P&gt;Terraform-Export1.png - shows the token&amp;nbsp;&lt;/P&gt;&lt;P&gt;Terraform-Export2.png - shows postman working&lt;/P&gt;&lt;P&gt;Terraform-Export3.png - shows failed run in command line&lt;/P&gt;&lt;P&gt;Terraform-Export4.png - shows the folder after the run&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem: Returns exit status 1.&lt;/P&gt;&lt;P&gt;Please help on successfully running the export.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abner&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 07:19:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/exit-status-1-Terraform-Export/m-p/207611#M25272</guid>
      <dc:creator>abnerlusung</dc:creator>
      <dc:date>2023-03-22T07:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: exit status 1 Terraform Export</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/exit-status-1-Terraform-Export/m-p/208203#M25382</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm hoping someone can help with our issue. ^^)&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Abner&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 08:21:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/exit-status-1-Terraform-Export/m-p/208203#M25382</guid>
      <dc:creator>abnerlusung</dc:creator>
      <dc:date>2023-03-28T08:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: exit status 1 Terraform Export</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/exit-status-1-Terraform-Export/m-p/212857#M26436</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;We are hoping someone can find our question.&lt;/P&gt;&lt;P&gt;We would really appreciate.&lt;/P&gt;&lt;P data-unlink="true"&gt;The team are now using the newer version:&amp;nbsp;v1.30.2&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Abner&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 06:25:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/exit-status-1-Terraform-Export/m-p/212857#M26436</guid>
      <dc:creator>abnerlusung</dc:creator>
      <dc:date>2023-05-23T06:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: exit status 1 Terraform Export</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/exit-status-1-Terraform-Export/m-p/213229#M26520</link>
      <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This one, need to do two things, and take note of the version because older version may not contain the issue.&lt;/P&gt;&lt;P&gt;1) We use terraform providers mirror to have a copy of the provider thus eliminates the internet issue.&lt;/P&gt;&lt;P&gt;2) We need to set a global variable for the&amp;nbsp;&lt;SPAN&gt;DYNATRACE_HTTP_&lt;/SPAN&gt;&lt;SPAN class=""&gt;INSECURE so it would skip to our insecure Dynatrace API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Hope this helps someone!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Abner&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 07:54:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/exit-status-1-Terraform-Export/m-p/213229#M26520</guid>
      <dc:creator>abnerlusung</dc:creator>
      <dc:date>2023-05-26T07:54:54Z</dc:date>
    </item>
  </channel>
</rss>

