From e69897ab28a470ac6ec41ac8b5c786682be620e7 Mon Sep 17 00:00:00 2001 From: Mario Lubenka Date: Thu, 11 Mar 2021 13:23:19 +0100 Subject: [PATCH] feat: add Terraform partial for ACME DNS challenge --- templates/acme_dns_challenge.tf | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 templates/acme_dns_challenge.tf diff --git a/templates/acme_dns_challenge.tf b/templates/acme_dns_challenge.tf new file mode 100644 index 0000000..eb3cbde --- /dev/null +++ b/templates/acme_dns_challenge.tf @@ -0,0 +1,7 @@ +# Partial for acme_certificate Terraform module + dns_challenge { + provider = "cloudflare" + config = { + CF_DNS_API_TOKEN: "{{ module.config.cloudflare_api_token }}" + } + }