File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 22
22
env :
23
23
GOPROXY : " https://proxy.golang.org"
24
24
TF_ACC : true
25
+ DYNATRACE_DEBUG : true
25
26
DYNATRACE_ENV_URL : ${{ secrets.DYNATRACE_ENV_URL }}
26
27
DYNATRACE_API_TOKEN : ${{ secrets.DYNATRACE_API_TOKEN }}
27
28
run : go test -v .
Original file line number Diff line number Diff line change @@ -19,13 +19,14 @@ package config
19
19
20
20
import (
21
21
"context"
22
+ "os"
22
23
23
24
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
24
25
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
25
26
)
26
27
27
28
// HTTPVerbose if set to `true` terraform-provider-dynatrace.log will contain request and response payload
28
- const HTTPVerbose = false
29
+ var HTTPVerbose = ( os . Getenv ( "DYNATRACE_DEBUG" ) == "true" )
29
30
30
31
// ProviderConfiguration contains the initialized API clients to communicate with the Dynatrace API
31
32
type ProviderConfiguration struct {
You can’t perform that action at this time.
0 commit comments