Skip to content

Zenduty/terraform-provider-zenduty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

layout page_title subcategory description
zenduty
Zenduty Provider

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.

Example Usage

# Configure the zenduty provider

terraform {
  required_providers {
    zenduty = {
      source = "zenduty/zenduty"
      version = ">= 0.1.0"
    }
  }
}


provider "zenduty" {
  # Configuration options
}

Configuration options

The zenduty provider offers two means of providing credentials for authentication.

  • Static credentials
  • Environment variables

Static credentials

!> 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"
}

Environment Variables

You can provide your credentials via the ZENDUTY_API_KEY environment variables.

Usage:

$ export ZENDUTY_API_KEY="your-api-key"
$ terraform plan

Schema

Required

  • token (String) Your Zenduty API key

Optional

  • base_url (String) The base url of the Zenduty