You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -59,7 +59,8 @@ Here are examples of how you can use this module in your inventory structure:
59
59
### custom-certificate
60
60
```hcl
61
61
module "custom_certificate" {
62
-
source = "./../../"
62
+
source = "clouddrove/certificate/digitalocean"
63
+
version = "0.13.0"
63
64
certificate_name = "test"
64
65
private_key = "./../../../_ssl/private-key.pem"
65
66
leaf_certificate = "./../../../_ssl/star.crt"
@@ -69,7 +70,8 @@ Here are examples of how you can use this module in your inventory structure:
69
70
### lets-encrypt-certificate
70
71
```hcl
71
72
module "lets_encrypt_certificate" {
72
-
source = "./../../"
73
+
source = "clouddrove/certificate/digitalocean"
74
+
version = "0.13.0"
73
75
certificate_name = "test"
74
76
domain_names = ["clouddrove.com"]
75
77
lets_encrypt_certificate = true
@@ -84,24 +86,24 @@ Here are examples of how you can use this module in your inventory structure:
84
86
## Inputs
85
87
86
88
| 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 |
|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 |
96
98
97
99
## Outputs
98
100
99
101
| Name | Description |
100
102
|------|-------------|
101
103
| id | The unique ID of the certificate. |
102
104
| 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. |
0 commit comments