Clone the repository and navigate to zenduty-terraform folder
terraform init
once the provider is initialized you can export zenduty api or
paste the token in provider block in main.tf
export ZENDUTY_API_KEY="your-api-key"
To generate a new API key, use the following steps:
- Login to your zenduty account and click on your profile on top right corner (..beside what's new)
- Click on account and then click on the API keys and then click on the Generate API Key button.
- Enter the Name of the API key and click on Create and Copy the API Key
Once token API key has been configured go to main.tf file and replace demouser,demouser2 with email address of your account members.then use the below command to create the resources mentioned in the main.tf file in zenduty
terraform apply