Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickithewatt/9a26a53e6fbc8fde791ae8538c9a0bc6 to your computer and use it in GitHub Desktop.
Save nickithewatt/9a26a53e6fbc8fde791ae8538c9a0bc6 to your computer and use it in GitHub Desktop.
module "dns" {
source = "../../modules/dns/direct"
...
}
module "acme-cert" {
source = "../../modules/acme-cert-request"
acme_account_key_pem = "${module.acme-reg.registration_private_key_pem}"
# acme_certificate_common_name = "${module.dns.fqdn_domain_name}"
# To make use of a single direct DNS record, comment out the line
# above, uncomment the one below, and ensure the dns module source
# is loaded from modules/dns/direct. This current approach has been
# done to remove a cyclic dependency.
acme_certificate_common_name = "${var.demo_domain_name}.${var.demo_domain_subdomain}"
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment