Closed ozbillwang closed 7 years ago
Hey @ozbillwang, glad you're finding the plugin useful!
More than likely, the fields you are looking for translate to:
acme_certificate.certificate.certificate_pem
acme_certificate.certificate.private_key_pem
acme_certificate.certificate.issuer_pem
If you need a really good reference, Open Credo has a great article on using the plugin with AWS here: https://opencredo.com/letsencrypt-terraform/
Cheers!
Thanks, it works.
I will add some codes to my repo (https://github.com/BWITS/tf_aws_acme) to directly import (or update when expired) the certificates automatically to AWS Certificate manager after register a new free letsencrypt certificate.
I'd like to import self-sign or free certificate into AWS Certificate Manager by terraform (https://aws.amazon.com/certificate-manager/) and I found this ACME provider.
I have successfully applied the change with the full example (https://github.com/paybyphone/terraform-provider-acme#full-example-with-certificate_request_pem-and-dns-validation)
Now what should I do? How to provide below informations ?
Check the tfstate file, there is a resource
acme_certificate.certificate
generated with several pem key, how to use them?