14
14
<p align =" center " >
15
15
16
16
<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 " >
18
18
</a >
19
19
<a href =" LICENSE.md " >
20
20
<img src =" https://img.shields.io/badge/License-MIT-blue.svg " alt =" Licence " >
@@ -51,7 +51,7 @@ We have [*fifty plus terraform modules*][terraform_modules]. A few of them are c
51
51
52
52
This module has a few dependencies:
53
53
54
- - [ Terraform 0.12 ] ( https://learn.hashicorp.com/terraform/getting-started/install.html )
54
+ - [ Terraform 0.13 ] ( https://learn.hashicorp.com/terraform/getting-started/install.html )
55
55
- [ Go] ( https://golang.org/doc/install )
56
56
- [ github.com/stretchr/testify/assert] ( https://github.com/stretchr/testify )
57
57
- [ github.com/gruntwork-io/terratest/modules/terraform] ( https://github.com/gruntwork-io/terratest )
@@ -72,7 +72,8 @@ Here are some examples of how you can use this module in your inventory structur
72
72
### ACM with DNS
73
73
``` hcl
74
74
module "acm" {
75
- source = "git::https://github.com/clouddrove/terraform-aws-acm.git?ref=tags/0.12.5"
75
+ source = "clouddrove/acm/aws"
76
+ version = "0.13.0"
76
77
name = "certificate"
77
78
application = "clouddrove"
78
79
environment = "test"
@@ -87,7 +88,8 @@ module "acm" {
87
88
### ACM with Email
88
89
``` hcl
89
90
module "acm" {
90
- source = "git::https://github.com/clouddrove/terraform-aws-acm.git?ref=tags/0.12.4"
91
+ source = "clouddrove/acm/aws"
92
+ version = "0.13.0"
91
93
name = "certificate"
92
94
application = "clouddrove"
93
95
environment = "test"
@@ -102,7 +104,8 @@ module "acm" {
102
104
### ACM with Import Certificate
103
105
``` hcl
104
106
module "acm" {
105
- source = "git::https://github.com/clouddrove/terraform-aws-acm.git?ref=tags/0.12.4"
107
+ source = "clouddrove/acm/aws"
108
+ version = "0.13.0"
106
109
name = "certificate"
107
110
application = "clouddrove"
108
111
environment = "test"
@@ -122,32 +125,33 @@ module "acm" {
122
125
## Inputs
123
126
124
127
| Name | Description | Type | Default | Required |
125
- | ------| -------------| : ----: | : -----: | : -----:|
126
- | application | Application \ ( e.g. ` cd ` or ` clouddrove ` \ ) . | string | ` "" ` | no |
127
- | attributes | Additional attributes \ ( e.g. ` 1 ` \ ) . | list | ` <list> ` | no |
128
- | certificate\_ body | Path of certificate body. | string | ` "~" ` | no |
129
- | certificate\_ chain | Path of certificate chain. | string | ` "" ` | no |
130
- | delimiter | Delimiter to be used between ` organization ` , ` environment ` , ` name ` and ` attributes ` . | string | ` "-" ` | no |
131
- | domain\_ name | A domain name for which the certificate should be issued. | string | ` "" ` | no |
132
- | enable\_ acm\_ certificate | Set to false to prevent the creation of a acm certificate. | string | ` " true" ` | no |
133
- | enable\_ aws\_ certificate | Set to false to prevent the creation of a acm certificate. | bool | ` " false" ` | no |
134
- | enable\_ dns\_ validation | Set to prevent validation of DNS. | string | ` " false" ` | no |
135
- | environment | Environment \ ( e.g. ` prod ` , ` dev ` , ` staging ` \ ) . | string | ` "" ` | no |
136
- | import\_ certificate | Set to true or false to decide the creation and import of a acm certificate. | bool | ` " false" ` | no |
137
- | label\_ order | Label order, e.g. ` name ` ,` application ` . | list | ` <list> ` | no |
138
- | managedby
| ManagedBy, eg 'CloudDrove' or 'AnmolNagpal'.
| string
| ` "[email protected] " ` | no
|
139
- | name | Name \ ( e.g. ` app ` or ` cluster ` \ ) . | string | ` "" ` | no |
140
- | private\_ key | Path of private key. | string | ` "" ` | no |
141
- | tags | Additional tags \ ( e.g. map\ (` BusinessUnit ` ,` XYZ ` \ ) . | map | ` <map> ` | no |
142
- | ttl | Time to live. | number | ` " 600" ` | no |
143
- | validate\_ certificate | Set to false to prevent the validation of a acm certificate. | string | ` " false" ` | no |
144
- | validation\_ method | Which method to use for validation, DNS or EMAIL. | string | ` "" ` | no |
128
+ | ------| -------------| ------ | --------- | :--- -----:|
129
+ | application | Application (e.g. ` cd ` or ` clouddrove ` ). | ` string ` | ` "" ` | no |
130
+ | attributes | Additional attributes (e.g. ` 1 ` ). | ` list ` | ` [] ` | no |
131
+ | certificate\_ body | Path of certificate body. | ` string ` | ` "~" ` | no |
132
+ | certificate\_ chain | Path of certificate chain. | ` string ` | ` "" ` | no |
133
+ | delimiter | Delimiter to be used between ` organization ` , ` environment ` , ` name ` and ` attributes ` . | ` string ` | ` "-" ` | no |
134
+ | domain\_ name | A domain name for which the certificate should be issued. | ` string ` | ` "" ` | no |
135
+ | enable\_ acm\_ certificate | Set to false to prevent the creation of a acm certificate. | ` bool ` | ` true ` | no |
136
+ | enable\_ aws\_ certificate | Set to false to prevent the creation of a acm certificate. | ` bool ` | ` false ` | no |
137
+ | enable\_ dns\_ validation | Set to prevent validation of DNS. | ` bool ` | ` false ` | no |
138
+ | environment | Environment (e.g. ` prod ` , ` dev ` , ` staging ` ). | ` string ` | ` "" ` | no |
139
+ | import\_ certificate | Set to true or false to decide the creation and import of a acm certificate. | ` bool ` | ` false ` | no |
140
+ | label\_ order | Label order, e.g. ` name ` ,` application ` . | ` list ` | ` [] ` | no |
141
+ | managedby
| ManagedBy, eg 'CloudDrove' or 'AnmolNagpal'.
| ` string ` | ` "[email protected] " ` | no
|
142
+ | name | Name (e.g. ` app ` or ` cluster ` ). | ` string ` | ` "" ` | no |
143
+ | private\_ key | Path of private key. | ` string ` | ` "" ` | no |
144
+ | tags | Additional tags (e.g. map(` BusinessUnit ` ,` XYZ ` ). | ` map ` | ` {} ` | no |
145
+ | ttl | Time to live. | ` number ` | ` 600 ` | no |
146
+ | validate\_ certificate | Set to false to prevent the validation of a acm certificate. | ` string ` | ` false ` | no |
147
+ | validation\_ method | Which method to use for validation, DNS or EMAIL. | ` string ` | ` "" ` | no |
145
148
146
149
## Outputs
147
150
148
151
| Name | Description |
149
152
| ------| -------------|
150
153
| arn | The ARN of the Certificate. |
154
+ | id | The ID of the Certificate. |
151
155
| tags | A mapping of tags to assign to the resource. |
152
156
153
157
0 commit comments