cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

exit status 1 Terraform Export

abnerlusung
Advisor

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

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

See screenshots:

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.

 

Thank you

 

Regards,

Abner

3 REPLIES 3

abnerlusung
Advisor

Hi everyone,

I'm hoping someone can help with our issue. ^^)

Kind Regards,

Abner

abnerlusung
Advisor

Hi everyone,

We are hoping someone can find our question.

We would really appreciate.

The team are now using the newer version: v1.30.2 

 

Kind Regards,

Abner

abnerlusung
Advisor

Hi everyone, 

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!

 

Regards,

Abner

Featured Posts