Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Commit

Permalink
Add UserName key to demonstrate configuration changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-norwood committed Oct 23, 2019
1 parent f25e6ea commit 2925dcc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,18 @@ resource "aws_dynamodb_table" "tfc_example_table" {
read_capacity = var.db_read_capacity
write_capacity = var.db_write_capacity
hash_key = "UUID"
range_key = "UserName"

attribute {
name = "UUID"
type = "S"
}

attribute {
name = "UserName"
type = "S"
}

tags = {
user_name = var.tag_user_name
}
Expand Down

0 comments on commit 2925dcc

Please sign in to comment.