zendesk
The zendesk
connection can be used to access Zendesk resources.
connection "zendesk" "my_zendesk" { subdomain = "dmi" email = "pam@dmi.com" token = "17ImlCYdfThisIsFakepJn1fi1pLwVdrb21114"}
Arguments
Name | Type | Required? | Description |
---|---|---|---|
subdomain | String | Optional | The subdomain name of your Zendesk account. |
email | String | Optional | Email address of agent user who have permission to access the API. |
token | String | Optional | API Token for your Zendesk instance. |
All arguments are optional, and a zendesk
connection with no arguments will behave the same as the default connection.
Default Connection
The zendesk
connection type includes an implicit, default connection (connection.zendesk.default
) that will be configured to set defaults using the environment variables ZENDESK_EMAIL
, ZENDESK_SUBDOMAIN
, and ZENDESK_API_TOKEN
.
connection "zendesk" "default" { subdomain = env("ZENDESK_SUBDOMAIN") email = env("ZENDESK_EMAIL") token = env("ZENDESK_API_TOKEN")}