layout | page_title | subcategory | description |
---|---|---|---|
zenduty |
Zenduty Provider |
The Zenduty provider is used to interact with the zenduty service. The provider needs to be configured with the proper credentials before it can be used.
# Configure the zenduty provider
terraform {
required_providers {
zenduty = {
source = "zenduty/zenduty"
version = ">= 0.1.0"
}
}
}
provider "zenduty" {
# Configuration options
}
The zenduty provider offers two means of providing credentials for authentication.
- Static credentials
- Environment variables
!> Warning: Hard-coding credentials into any Terraform configuration is not recommended, and risks secret leakage should this file ever be committed to a public version control system.
Static credentials can be provided by adding token
in-line in
the Zenduty provider block.
provider "zenduty" {
# Configuration options
token = "your api key"
}
You can provide your credentials via the ZENDUTY_API_KEY
environment variables.
Usage:
$ export ZENDUTY_API_KEY="your-api-key"
$ terraform plan
- token (String) Your Zenduty API key
- base_url (String) The base url of the Zenduty