Problem statement
I can successfully apply the following Terraform. However, when I inspect it in Admin UI, the Zendesk Account Name is empty. Can you tell me how to set this up with Terraform?
resource "auth0_client" "zendesk" {
name = "ZenDesk"
description = "Zendesk"
app_type = "zendesk"
client_metadata = {
accountname = "myzendeskaccount"
}
Symptoms
I cannot get the account name to populate via Terraform.
Cause
The example in Terraform documentation shows Zendesk as an option in addons but does not elaborate on how to send the accountName parameter.
Solution
Here are the sample scripts to set this up in Terraform:
resource "auth0_client" "zendesk" {
name = "ZenDesk"
description = "Zendesk"
app_type = "zendesk"
addons {
zendesk = {
"accountName" = "myzendeskaccount"
}
}
}