» Amazon Lightsail DNS Challenge Provider
The lightsail
DNS challenge provider can be used to perform DNS challenges for
the acme_certificate
resource with
Amazon Lightsail.
For complete information on how to use this provider with the acme_certifiate
resource, see here.
» Example
resource "acme_certificate" "certificate" {
...
dns_challenge {
provider = "lightsail"
}
}
» 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.
NOTE: Several other options exist for configuring the AWS credential chain. For more details, see the AWS SDK documentation.
-
AWS_ACCESS_KEY_ID
- The AWS access key ID. -
AWS_SECRET_ACCESS_KEY
- The AWS secret access key. -
AWS_SESSION_TOKEN
- The session token to use, if necessary. -
DNS_ZONE
- The hosted zone ID to use.
The following additional optional variables are available:
-
LIGHTSAIL_POLLING_INTERVAL
- The amount of time, in seconds, to wait between DNS propagation checks (default:60
). -
LIGHTSAIL_PROPAGATION_TIMEOUT
- The amount of time, in seconds, to wait for DNS propagation (default:60
).