Skip to content

Commit

Permalink
Fix orphaned !If statement
Browse files Browse the repository at this point in the history
  • Loading branch information
kookster committed Aug 28, 2024
1 parent 0ee1a6b commit 158d2cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/dynamodb-global-table.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Resources:
AttributeDefinitions:
- AttributeName: !Ref PrimaryKey
AttributeType: !FindInMap [DataTypesMap, !Ref PrimaryType, Symbol]
- !If
- Fn::If:
- HasSortKey
- AttributeName: !Ref SortKey
AttributeType: !FindInMap [DataTypesMap, !Ref SortType, Symbol]
Expand All @@ -222,7 +222,7 @@ Resources:
KeySchema:
- AttributeName: !Ref PrimaryKey
KeyType: HASH
- !If
- Fn::If:
- HasSortKey
- AttributeName: !Ref SortKey
KeyType: RANGE
Expand Down

0 comments on commit 158d2cc

Please sign in to comment.