diff --git a/README.md b/README.md index d945e5f..561077f 100644 --- a/README.md +++ b/README.md @@ -7,16 +7,16 @@ Terraform DigitalOcean Labels -

+

This terraform module is designed to generate consistent label names and tags for resources. You can use terraform-labels to implement a strict naming convention. -

+

Terraform - + Licence @@ -40,9 +40,9 @@ We eat, drink, sleep and most importantly love **DevOps**. We are working towards strategies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy Bigger problems are always solved by breaking them into smaller manageable problems. Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller connected yet manageable pieces within the infrastructure. -This module is basically combination of [Terraform open source](https://www.terraform.io/) and includes automatation tests and examples. It also helps to create and improve your infrastructure with minimalistic code instead of maintaining the whole infrastructure code yourself. +This module is basically combination of [Terraform open source](https://www.terraform.io/) and includes automation tests and examples. It also helps to create and improve your infrastructure with minimalistic code instead of maintaining the whole infrastructure code yourself. -We have [*fifty plus terraform modules*][terraform_modules]. A few of them are comepleted and are available for open source usage while a few others are in progress. +We have [*fifty plus terraform modules*][terraform_modules]. A few of them are completed and are available for open source usage while a few others are in progress. @@ -73,7 +73,7 @@ Here is an example of how you can use this module in your inventory structure: ```hcl module "labels" { source = "terraform-do-modules/labels/digitalocean" - version = "0.15.0" + version = "1.0.1" name = "labels" environment = "test" label_order = ["name", "environment"] @@ -111,17 +111,17 @@ Here is an example of how you can use this module in your inventory structure: ## Testing -In this module testing is performed with [terratest](https://github.com/gruntwork-io/terratest) and it creates a small piece of infrastructure, matches the output like ARN, ID and Tags name etc and destroy infrastructure in your AWS account. This testing is written in GO, so you need a [GO environment](https://golang.org/doc/install) in your system. +In this module testing is performed with [terratest](https://github.com/gruntwork-io/terratest), and it creates a small piece of infrastructure, matches the output like ARN, ID and Tags name etc and destroy infrastructure in your AWS account. This testing is written in GO, so you need a [GO environment](https://golang.org/doc/install) in your system. You need to run the following command in the testing folder: -```hcl +```shell go test -run Test ``` -## Feedback -If you come accross a bug or have any feedback, please log it in our [issue tracker](https://github.com/terraform-do-modules/terraform-digitalocean-labels/issues), or feel free to drop us an email at [hello@clouddrove.com](mailto:hello@clouddrove.com). +## Feedback +If you come across a bug or have any feedback, please log it in our [issue tracker](https://github.com/terraform-do-modules/terraform-digitalocean-labels/issues), or feel free to drop us an email at [hello@clouddrove.com](mailto:hello@clouddrove.com). If you have found it worth your time, go ahead and give us a ★ on [our GitHub](https://github.com/terraform-do-modules/terraform-digitalocean-labels)! diff --git a/README.yaml b/README.yaml index 4030e68..ffc8dda 100644 --- a/README.yaml +++ b/README.yaml @@ -36,7 +36,7 @@ usage : |- ```hcl module "labels" { source = "terraform-do-modules/labels/digitalocean" - version = "0.15.0" + version = "1.0.1" name = "labels" environment = "test" label_order = ["name", "environment"] diff --git a/outputs.tf b/outputs.tf index 4a8fdfe..08590d5 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,4 +1,4 @@ -#Module : LABLE +#Module : LABEL #Description : This terraform module is designed to generate consistent label names and tags # for resources. You can use terraform-labels to implement a strict naming # convention. @@ -18,6 +18,6 @@ output "environment" { } output "managedby" { - value = digitalocean_tag.environment[0].name + value = digitalocean_tag.managedby[0].name description = "Normalized managedby." } \ No newline at end of file