Skip to content

Commit 8907116

Browse files
Merge pull request #12 from delaskoff/master
feat: Fix managedby output value
2 parents 1d8a01c + f3868ac commit 8907116

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
Terraform DigitalOcean Labels
88
</h1>
99

10-
<p align="center" style="font-size: 1.2rem;">
10+
<p align="center" style="font-size: 1.2rem;">
1111
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.
12-
</p>
12+
</p>
1313

1414
<p align="center">
1515

1616
<a href="https://www.terraform.io">
1717
<img src="https://img.shields.io/badge/Terraform-v0.15-green" alt="Terraform">
1818
</a>
19-
<a href="LICENSE.md">
19+
<a href="LICENSE">
2020
<img src="https://img.shields.io/badge/License-APACHE-blue.svg" alt="Licence">
2121
</a>
2222

@@ -40,9 +40,9 @@
4040

4141
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 <b>Bigger problems are always solved by breaking them into smaller manageable problems</b>. Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller <b>connected yet manageable pieces</b> within the infrastructure.
4242

43-
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.
43+
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.
4444

45-
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.
45+
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.
4646

4747

4848

@@ -73,7 +73,7 @@ Here is an example of how you can use this module in your inventory structure:
7373
```hcl
7474
module "labels" {
7575
source = "terraform-do-modules/labels/digitalocean"
76-
version = "0.15.0"
76+
version = "1.0.1"
7777
name = "labels"
7878
environment = "test"
7979
label_order = ["name", "environment"]
@@ -111,17 +111,17 @@ Here is an example of how you can use this module in your inventory structure:
111111

112112

113113
## Testing
114-
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.
114+
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.
115115

116116
You need to run the following command in the testing folder:
117-
```hcl
117+
```shell
118118
go test -run Test
119119
```
120120

121121

122122

123-
## Feedback
124-
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 [[email protected]](mailto:[email protected]).
123+
## Feedback
124+
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 [[email protected]](mailto:[email protected]).
125125

126126
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)!
127127

README.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ usage : |-
3636
```hcl
3737
module "labels" {
3838
source = "terraform-do-modules/labels/digitalocean"
39-
version = "0.15.0"
39+
version = "1.0.1"
4040
name = "labels"
4141
environment = "test"
4242
label_order = ["name", "environment"]

outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Module : LABLE
1+
#Module : LABEL
22
#Description : This terraform module is designed to generate consistent label names and tags
33
# for resources. You can use terraform-labels to implement a strict naming
44
# convention.
@@ -18,6 +18,6 @@ output "environment" {
1818
}
1919

2020
output "managedby" {
21-
value = digitalocean_tag.environment[0].name
21+
value = digitalocean_tag.managedby[0].name
2222
description = "Normalized managedby."
2323
}

0 commit comments

Comments
 (0)