certificate
clouddrove/certificate/digitalocean
Provides a DigitalOcean Certificate resource that allows you to manage certificates.
Terraform DigitalOcean SSL Certificate Provides a DigitalOcean Certificate resource that allows you to manage certificates. Prerequisites This module has a few dependencies: IMPORTANT: Since the master branch used in source varies based on new modifications, we suggest that you use the release versions here. Here are examples of how you can use this module in your inventory structure: custom-certificate ``hcl module "custom_certificate" { source = "clouddrove/certificate/digitalocean" version = "0.15.0" certificate_name = "test" private_key = "./../../../_ssl/private-key.pem" leaf_certificate = "./../../../_ssl/star.crt" custom_certificate = true } ` lets-encrypt-certificate `hcl module "lets_encrypt_certificate" { source = "clouddrove/certificate/digitalocean" version = "0.15.0" certifica
| Name | Type | Description | Default |
|---|---|---|---|
| leaf_certificate | string | Path of certificate body. | "~" |
| certificate_chain | string | Path of certificate chain. | "" |
| enable_certificate | bool | A boolean flag to enable/disable certificate. | true |
| custom_certificate | bool | A boolean flag to enable/disable custom_certificate. | false |
| lets_encrypt_certificate | bool | A boolean flag to enable/disable lets_encrypt_certificate. | false |
| certificate_name | string | The name of the certificate for identification. | "" |
| private_key | string | Path of private key. | "" |
| domain_names | list(any) | List of fully qualified domain names (FQDNs) for which the certificate will be i | [] |
not_after — The expiration date of the certificate.sha1_fingerprint — The SHA-1 fingerprint of the certificate.id — The unique ID of the certificate.name — The name of the certificate.