Skip to content

Commit

Permalink
Merge pull request #2 from clouddrove/CD-92
Browse files Browse the repository at this point in the history
Cd 92
  • Loading branch information
Nikita Dugar committed Dec 28, 2019
2 parents 4bfaaeb + de4198c commit f16e914
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Here is an example of how you can use this module in your inventory structure:
application = "clouddrove"
environment = "test"
protocol = "tcp"
label_order = ["environment", "name", "application"]
label_order = ["environment", "application", "name"]
vpc_id = "vpc-xxxxxxxxx"
allowed_ip = ["172.16.0.0/16", "10.0.0.0/16"]
allowed_ports = [22, 27017]
Expand Down
2 changes: 1 addition & 1 deletion README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ usage : |-
application = "clouddrove"
environment = "test"
protocol = "tcp"
label_order = ["environment", "name", "application"]
label_order = ["environment", "application", "name"]
vpc_id = "vpc-xxxxxxxxx"
allowed_ip = ["172.16.0.0/16", "10.0.0.0/16"]
allowed_ports = [22, 27017]
Expand Down
4 changes: 2 additions & 2 deletions _example/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module "vpc" {
name = "vpc"
application = "clouddrove"
environment = "test"
label_order = ["environment", "name", "application"]
label_order = ["environment", "application", "name"]

cidr_block = "10.0.0.0/16"
}
Expand All @@ -19,7 +19,7 @@ module "security_group" {
name = "security-group"
application = "clouddrove"
environment = "test"
label_order = ["environment", "name", "application"]
label_order = ["environment", "application", "name"]

vpc_id = module.vpc.vpc_id
protocol = "tcp"
Expand Down
2 changes: 1 addition & 1 deletion _test/securitygroup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ func Test(t *testing.T) {
Tags := terraform.OutputMap(t, terraformOptions, "tags")

// Check that we get back the outputs that we expect
assert.Equal(t, "test-security-group-clouddrove", Tags["Name"])
assert.Equal(t, "test-clouddrove-security-group", Tags["Name"])
assert.Contains(t, Id, "sg-")
}

0 comments on commit f16e914

Please sign in to comment.