Skip to content

Commit

Permalink
typo: Updated terraform example
Browse files Browse the repository at this point in the history
The terraform example had a couple of issues:

- Tags was missing a `=`
- Attribute list is not supported
  • Loading branch information
shinuza authored Dec 10, 2021
1 parent 4ba2178 commit c3aac0f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions website/content/docs/configuration/storage/dynamodb.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -129,17 +129,17 @@ resource "aws_dynamodb_table" "dynamodb-table" {
write_capacity = 1
hash_key = "Path"
range_key = "Key"
attribute = [
{
name = "Path"
type = "S"
},
{
name = "Key"
type = "S"
}
]
tags {
attribute {
name = "Path"
type = "S"
}
attribute {
name = "Key"
type = "S"
}
tags = {
Name = "vault-dynamodb-table"
Environment = "prod"
}
Expand Down

0 comments on commit c3aac0f

Please sign in to comment.