» Azure DNS Challenge Provider

The azure DNS challenge provider can be used to perform DNS challenges for the acme_certificate resource with Microsoft Azure.

For complete information on how to use this provider with the acme_certifiate resource, see here.

» Example

resource "acme_certificate" "certificate" {

  dns_challenge {
    provider = "azure"

» Argument Reference

The following arguments can be either passed as environment variables, or directly through the config block in the dns_challenge argument in the acme_certificate resource. For more details, see here.

In addition, arguments can also be stored in a local file, with the path supplied by supplying the argument with the _FILE suffix. See here for more information.

  • AZURE_CLIENT_ID - The Client ID of the Service Principal. Can also be supplied with ARM_CLIENT_ID.
  • AZURE_CLIENT_SECRET - The Client Secret associated with the Service Principal. Can also be supplied with ARM_CLIENT_SECRET.
  • AZURE_SUBSCRIPTION_ID - The ID of the Azure Subscription. Can also be supplied with ARM_SUBSCRIPTION_ID.
  • AZURE_TENANT_ID - The Tenant ID to use. Can also be supplied with ARM_TENANT_ID.
  • AZURE_RESOURCE_GROUP - The resource group to use to place the DNS records in. Can also be supplied with ARM_RESOURCE_GROUP.

The following additional optional variables are available: