Using terraform-provider-dynatrace, I want to export the web applications.
My setup are the following:
Environment variables (See attached):
Downloaded the 1.23.0_windows_amd64
In the command line, I ran the following:
terraform-provider-dynatrace_v1.23.0.exe -export dynatrace_web_application
Terraform-Export0.png - shows environment variables
Terraform-Export1.png - shows the token
Terraform-Export2.png - shows postman working
Terraform-Export3.png - shows failed run in command line
Terraform-Export4.png - shows the folder after the run
Problem: Returns exit status 1.
Please help on successfully running the export.
Solved! Go to Solution.
This one, need to do two things, and take note of the version because older version may not contain the issue.
1) We use terraform providers mirror to have a copy of the provider thus eliminates the internet issue.
2) We need to set a global variable for the DYNATRACE_HTTP_INSECURE so it would skip to our insecure Dynatrace API.
Hope this helps someone!