Skip to content

Commit abd9af6

Browse files
ogalo-chrisroot
authored andcommitted
added name and projection_type attribute in global_secondary_index (bregman-arie#10279)
Co-authored-by: root <root@LAPTOP-6B2DCPF6>
1 parent eaaef4d commit abd9af6

File tree

1 file changed

+2
-1
lines changed
  • topics/aws/exercises/web_app_lambda_dynamodb/terraform

1 file changed

+2
-1
lines changed

topics/aws/exercises/web_app_lambda_dynamodb/terraform/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ resource "aws_dynamodb_table" "users" {
1818

1919
global_secondary_index {
2020
hash_key =
21-
21+
name =
22+
projection_type =
2223
}
2324
}

0 commit comments

Comments
 (0)