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 " >
@@ -51,7 +51,7 @@ We have [*fifty plus terraform modules*][terraform_modules]. A few of them are c
5151
5252This module has a few dependencies:
5353
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 )
5555- [ Go] ( https://golang.org/doc/install )
5656- [ github.com/stretchr/testify/assert] ( https://github.com/stretchr/testify )
5757- [ 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
7272### ACM with DNS
7373``` hcl
7474module "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"
7677 name = "certificate"
7778 application = "clouddrove"
7879 environment = "test"
@@ -87,7 +88,8 @@ module "acm" {
8788### ACM with Email
8889``` hcl
8990module "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"
9193 name = "certificate"
9294 application = "clouddrove"
9395 environment = "test"
@@ -102,7 +104,8 @@ module "acm" {
102104### ACM with Import Certificate
103105``` hcl
104106module "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"
106109 name = "certificate"
107110 application = "clouddrove"
108111 environment = "test"
@@ -122,32 +125,33 @@ module "acm" {
122125## Inputs
123126
124127| 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 | ` "anmol@clouddrove.com" ` | 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 ` | ` "anmol@clouddrove.com" ` | 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 |
145148
146149## Outputs
147150
148151| Name | Description |
149152| ------| -------------|
150153| arn | The ARN of the Certificate. |
154+ | id | The ID of the Certificate. |
151155| tags | A mapping of tags to assign to the resource. |
152156
153157
0 commit comments