» Google Cloud DNS DNS Challenge Provider
The gcloud DNS challenge provider can be used to perform DNS challenges for
the acme_certificate resource with
Google Cloud DNS.
For complete information on how to use this provider with the acme_certifiate
resource, see here.
» Example
resource "acme_certificate" "certificate" {
...
dns_challenge {
provider = "gcloud"
}
}
» 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.
-
GCE_PROJECT- The project name. -
GCE_SERVICE_ACCOUNT_FILE- The path to the service account file. This is the same file referenced by thecredentialsoption in the Terraform Google provider. -
GCE_SERVICE_ACCOUNT- The contents of the service account file, if passed in directly.
The following additional optional variables are available:
-
GCE_POLLING_INTERVAL- The amount of time, in seconds, to wait between DNS propagation checks (default:5). -
GCE_PROPAGATION_TIMEOUT- The amount of time, in seconds, to wait for DNS propagation (default:180). -
GCE_TTL- The TTL to set on DNS challenge records, in seconds (default:120).