freshdesk

The freshdesk connection can be used to access Freshdesk resources.

connection "freshdesk" "freshdesk_connection" {
api_key = "sk-jwgthNa..."
subdomain = "domain_name"
}

Arguments

NameTypeRequired?Description
api_keyStringOptionalFreshdesk API key
subdomainStringOptionalFreshdesk subdomain

All arguments are optional, and a freshdesk connection with no arguments will behave the same as the default connection.

Default Connection

The freshdesk connection type includes an implicit, default connection (connection.freshdesk.default) that will be configured using the environment variables FRESHDESK_API_KEY and FRESHDESK_SUBDOMAIN.

connection "freshdesk" "default" {
api_key = env("FRESHDESK_API_KEY")
subdomain = env("FRESHDESK_SUBDOMAIN")
}