Skip to content

Commit

Permalink
Upgrade dynamodb label to 0.24.1 (#93)
Browse files Browse the repository at this point in the history
* Upgrade dynamodb label to 0.24.1

* Auto Format

* Update main.tf

Co-authored-by: Nuru <Nuru@users.noreply.github.com>

* Update test

Co-authored-by: cloudpossebot <11232728+cloudpossebot@users.noreply.github.com>
Co-authored-by: Nuru <Nuru@users.noreply.github.com>
  • Loading branch information
3 people authored Aug 18, 2021
1 parent db4c0fc commit 9688e5a
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 @@ -264,7 +264,7 @@ Available targets:

| Name | Source | Version |
|------|--------|---------|
| <a name="module_dynamodb_table_label"></a> [dynamodb\_table\_label](#module\_dynamodb\_table\_label) | cloudposse/label/null | 0.22.0 |
| <a name="module_dynamodb_table_label"></a> [dynamodb\_table\_label](#module\_dynamodb\_table\_label) | cloudposse/label/null | 0.24.1 |
| <a name="module_this"></a> [this](#module\_this) | cloudposse/label/null | 0.24.1 |

## Resources
Expand Down
2 changes: 1 addition & 1 deletion docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

| Name | Source | Version |
|------|--------|---------|
| <a name="module_dynamodb_table_label"></a> [dynamodb\_table\_label](#module\_dynamodb\_table\_label) | cloudposse/label/null | 0.22.0 |
| <a name="module_dynamodb_table_label"></a> [dynamodb\_table\_label](#module\_dynamodb\_table\_label) | cloudposse/label/null | 0.24.1 |
| <a name="module_this"></a> [this](#module\_this) | cloudposse/label/null | 0.24.1 |

## Resources
Expand Down
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ resource "aws_s3_bucket_public_access_block" "default" {

module "dynamodb_table_label" {
source = "cloudposse/label/null"
version = "0.22.0"
attributes = compact(concat(var.attributes, ["lock"]))
version = "0.24.1"
attributes = ["lock"]
context = module.this.context
enabled = local.dynamodb_enabled
}
Expand Down
2 changes: 1 addition & 1 deletion test/src/examples_complete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func TestExamplesComplete(t *testing.T) {

// Run `terraform output` to get the value of an output variable
dynamodbTableName := terraform.Output(t, terraformOptions, "dynamodb_table_name")
expectedDynamodbTableName := "eg-test-terraform-tfstate-backend-lock-" + randId
expectedDynamodbTableName := "eg-test-terraform-tfstate-backend-" + randId + "-lock"
// Verify we're getting back the outputs we expect
assert.Equal(t, expectedDynamodbTableName, dynamodbTableName)
}

0 comments on commit 9688e5a

Please sign in to comment.