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
- Host: GitHub
- URL: https://github.com/l-with/terraform-module-get_le_cert_package
- Owner: l-with
- Created: 2023-02-05T13:07:31.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-06T14:10:39.000Z (over 3 years ago)
- Last Synced: 2025-02-08T17:13:07.242Z (over 1 year ago)
- Topics: letsencrypt-certificates, terraform, terraform-module
- Language: HCL
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.