Last active
January 22, 2017 01:56
-
-
Save nickithewatt/9a26a53e6fbc8fde791ae8538c9a0bc6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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