Open Q&A
If there's no good subforum for your question - ask it here!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Terraform Provider Export / Webhook header secrets

Ed_Cox
Participant

Using v1.93.0 Dynatrace Terraform Provider 

When exporting Webhook notification, the headers are exported as

headers {
    header {
       name = "Authorization"
       secret_value = "$${state.secret_value}"
       value = ""
    }
}
     changing
     secret_value = "Basic MYBASE64Cred"
I get the following error:

│ Error: API error: webHookNotification/headers/0/name: Must contain at least 1 non-whitespace character
│ webHookNotification/headers/0/name: Size must be between 1 and 500
 
if I use
      value = "Basic MYBASE64Cred"
it works but the text is visable in the UI. 
 
Has Anyone had experience using "secret_value" in terraform provider?

 

0 REPLIES 0

Featured Posts