» Selectel DNS Challenge Provider
The selectel
DNS challenge provider can be used to perform DNS challenges for
the acme_certificate
resource with
Selectel.
For complete information on how to use this provider with the acme_certifiate
resource, see here.
» Example
resource "acme_certificate" "certificate" {
...
dns_challenge {
provider = "selectel"
}
}
» 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.
-
SELECTEL_API_TOKEN
- The API token to use.
The following additional optional variables are available:
-
SELECTEL_BASE_URL
- The base URL to use (default:https://api.selectel.ru/domains/v1
). -
SELECTEL_POLLING_INTERVAL
- The amount of time, in seconds, to wait between DNS propagation checks (default:2
). -
SELECTEL_PROPAGATION_TIMEOUT
- The amount of time, in seconds, to wait for DNS propagation (default:120
). -
SELECTEL_TTL
- The TTL to set on DNS challenge records, in seconds (default:60
). -
SELECTEL_HTTP_TIMEOUT
- The timeout on HTTP requests to the API (default:30
).