Skip to content

Commit

Permalink
Merge pull request #3 from clouddrove/CD-90
Browse files Browse the repository at this point in the history
github action
  • Loading branch information
anmolnagpal committed Dec 27, 2019
2 parents 135bb8d + a143b9b commit c256b47
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ This module has a few dependencies:
Here is an example of how you can use this module in your inventory structure:
```hcl
module "kms_key" {
source = "git::https://github.com/clouddrove/terraform-aws-kms.git?ref=tags/0.12.2"
source = "git::https://github.com/clouddrove/terraform-aws-kms.git?ref=tags/0.12.3"
name = "kms"
application = "clouddrove"
environment = "test"
enabled = true
label_order = ["environment", "name", "application"]
label_order = ["environment", "application", "name"]
description = "KMS key for cloudtrail"
deletion_window_in_days = 7
enable_key_rotation = true
Expand Down
4 changes: 2 additions & 2 deletions README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ usage : |-
Here is an example of how you can use this module in your inventory structure:
```hcl
module "kms_key" {
source = "git::https://github.com/clouddrove/terraform-aws-kms.git?ref=tags/0.12.2"
source = "git::https://github.com/clouddrove/terraform-aws-kms.git?ref=tags/0.12.3"
name = "kms"
application = "clouddrove"
environment = "test"
label_order = ["environment", "name", "application"]
label_order = ["environment", "application", "name"]
enabled = true
description = "KMS key for cloudtrail"
deletion_window_in_days = 7
Expand Down
2 changes: 1 addition & 1 deletion _example/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module "kms_key" {
name = "kms"
application = "clouddrove"
environment = "test"
label_order = ["environment", "name", "application"]
label_order = ["environment", "application", "name"]
enabled = true

description = "KMS key for cloudtrail"
Expand Down
2 changes: 1 addition & 1 deletion _test/kms_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ func Test(t *testing.T) {

// Check that we get back the outputs that we expect
assert.Contains(t, keyArn, "arn:aws:kms")
assert.Equal(t, "test-kms-clouddrove", Tags["Name"])
assert.Equal(t, "test-clouddrove-kms", Tags["Name"])
}

0 comments on commit c256b47

Please sign in to comment.