Skip to content

Commit 3179a69

Browse files
committed
pushed README.md
1 parent 95a3758 commit 3179a69

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<p align="center">
1515

1616
<a href="https://www.terraform.io">
17-
<img src="https://img.shields.io/badge/Terraform-v0.12-green" alt="Terraform">
17+
<img src="https://img.shields.io/badge/Terraform-v0.13-green" alt="Terraform">
1818
</a>
1919
<a href="LICENSE.md">
2020
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="Licence">
@@ -59,7 +59,8 @@ Here are examples of how you can use this module in your inventory structure:
5959
### custom-certificate
6060
```hcl
6161
module "custom_certificate" {
62-
source = "./../../"
62+
source = "clouddrove/certificate/digitalocean"
63+
version = "0.13.0"
6364
certificate_name = "test"
6465
private_key = "./../../../_ssl/private-key.pem"
6566
leaf_certificate = "./../../../_ssl/star.crt"
@@ -69,7 +70,8 @@ Here are examples of how you can use this module in your inventory structure:
6970
### lets-encrypt-certificate
7071
```hcl
7172
module "lets_encrypt_certificate" {
72-
source = "./../../"
73+
source = "clouddrove/certificate/digitalocean"
74+
version = "0.13.0"
7375
certificate_name = "test"
7476
domain_names = ["clouddrove.com"]
7577
lets_encrypt_certificate = true
@@ -84,24 +86,24 @@ Here are examples of how you can use this module in your inventory structure:
8486
## Inputs
8587

8688
| Name | Description | Type | Default | Required |
87-
|------|-------------|:----:|:-----:|:-----:|
88-
| certificate_chain | Path of certificate chain. | string | `` | no |
89-
| certificate_name | The name of the certificate for identification. | string | `` | no |
90-
| custom_certificate | A boolean flag to enable/disable custom_certificate. | bool | `false` | no |
91-
| domain_names | List of fully qualified domain names (FQDNs) for which the certificate will be issued. The domains must be managed using DigitalOcean's DNS. Only valid when type is lets_encrypt. | list | `<list>` | no |
92-
| enable_certificate | A boolean flag to enable/disable certificate. | bool | `true` | no |
93-
| leaf_certificate | Path of certificate body. | string | `~` | no |
94-
| lets_encrypt_certificate | A boolean flag to enable/disable lets_encrypt_certificate. | bool | `false` | no |
95-
| private_key | Path of private key. | string | `` | no |
89+
|------|-------------|------|---------|:--------:|
90+
| certificate\_chain | Path of certificate chain. | `string` | `""` | no |
91+
| certificate\_name | The name of the certificate for identification. | `string` | `""` | no |
92+
| custom\_certificate | A boolean flag to enable/disable custom\_certificate. | `bool` | `false` | no |
93+
| domain\_names | List of fully qualified domain names (FQDNs) for which the certificate will be issued. The domains must be managed using DigitalOcean's DNS. Only valid when type is lets\_encrypt. | `list` | `[]` | no |
94+
| enable\_certificate | A boolean flag to enable/disable certificate. | `bool` | `true` | no |
95+
| leaf\_certificate | Path of certificate body. | `string` | `"~"` | no |
96+
| lets\_encrypt\_certificate | A boolean flag to enable/disable lets\_encrypt\_certificate. | `bool` | `false` | no |
97+
| private\_key | Path of private key. | `string` | `""` | no |
9698

9799
## Outputs
98100

99101
| Name | Description |
100102
|------|-------------|
101103
| id | The unique ID of the certificate. |
102104
| name | The name of the certificate. |
103-
| not_after | The expiration date of the certificate. |
104-
| sha1_fingerprint | The SHA-1 fingerprint of the certificate. |
105+
| not\_after | The expiration date of the certificate. |
106+
| sha1\_fingerprint | The SHA-1 fingerprint of the certificate. |
105107

106108

107109

0 commit comments

Comments
 (0)