An open API service indexing awesome lists of open source software.

https://github.com/l-with/terraform-module-get_le_cert_package


https://github.com/l-with/terraform-module-get_le_cert_package

letsencrypt-certificates terraform terraform-module

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# 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](https://registry.terraform.io/providers/neuspaces/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](https://github.com/l-with/ansible-role-get_lets_encrypt_certificate_package).

## Requirements

| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 0.15 |
| [system](#requirement\_system) | >= 0.3.0 |

## Providers

| Name | Version |
|------|---------|
| [system](#provider\_system) | >= 0.3.0 |

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [system_command.curl_le_cert_package](https://registry.terraform.io/providers/neuspaces/system/latest/docs/data-sources/command) | data source |
| [system_command.decrypt_and_untar_le_cert_package](https://registry.terraform.io/providers/neuspaces/system/latest/docs/data-sources/command) | data source |
| [system_command.when_finished](https://registry.terraform.io/providers/neuspaces/system/latest/docs/data-sources/command) | data source |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [command\_to\_execute\_when\_finished](#input\_command\_to\_execute\_when\_finished) | the command to execute when finished (e.g. restart web server) | `string` | `""` | no |
| [le\_cert\_package\_secret](#input\_le\_cert\_package\_secret) | the secret to decrypt the Let's Encrypt certificate package | `string` | n/a | yes |
| [le\_cert\_package\_url](#input\_le\_cert\_package\_url) | the url of the Let's Encrypt certificate package | `string` | n/a | yes |
| [le\_domains](#input\_le\_domains) | the string of domains for the Let's Encrypt certificate package | `string` | n/a | yes |
| [url\_header](#input\_url\_header) | the header for the url of the Let's Encrypt certificate package | `string` | n/a | yes |

## Outputs

No outputs.