Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 2.45 KB

File metadata and controls

48 lines (33 loc) · 2.45 KB

Terraform Module Get Let's Encrypt Certificate

Terraform module which gets and installs encrypted Let's Encrypt certificate package from url by Terraform Provider for (Operating) System.

This role can be used to get a prepared package of a Let's Encrypt Cerificate (for instance by DNS challenge).

This is a terraform replacement for Ansible Role Get Let's Encrypt Certificate Package.

Requirements

Name Version
terraform >= 0.15
system >= 0.3.0

Providers

Name Version
system >= 0.3.0

Modules

No modules.

Resources

Name Type
system_command.curl_le_cert_package data source
system_command.decrypt_and_untar_le_cert_package data source
system_command.when_finished data source

Inputs

Name Description Type Default Required
command_to_execute_when_finished the command to execute when finished (e.g. restart web server) string "" no
le_cert_package_secret the secret to decrypt the Let's Encrypt certificate package string n/a yes
le_cert_package_url the url of the Let's Encrypt certificate package string n/a yes
le_domains the string of domains for the Let's Encrypt certificate package string n/a yes
url_header the header for the url of the Let's Encrypt certificate package string n/a yes

Outputs

No outputs.