» Gandi DNS Challenge Provider

The gandi DNS challenge provider can be used to perform DNS challenges for the acme_certificate resource with Gandi.

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

» Example

resource "acme_certificate" "certificate" {

  dns_challenge {
    provider = "gandi"

» 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.

The following additional optional variables are available:

  • GANDI_POLLING_INTERVAL - The amount of time, in seconds, to wait between DNS propagation checks (default: 60).
  • GANDI_PROPAGATION_TIMEOUT - The amount of time, in seconds, to wait for DNS propagation (default: 2400).
  • GANDI_TTL - The TTL to set on DNS challenge records, in seconds (default: 300).
  • GANDI_HTTP_TIMEOUT - The timeout on HTTP requests to the API (default: 60).