Skip to content

Commit

Permalink
fix: tables template encryption settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mvayngrib committed Oct 29, 2018
1 parent b541ee0 commit fa76cbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cloudformation/tables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Resources:
SSESpecification:
Fn::If:
- DoEncrypt
- - SSEEnabled: true
- SSEEnabled: true
- Ref: AWS::NoValue

Bucket0:
Expand All @@ -88,7 +88,7 @@ Resources:
SSESpecification:
Fn::If:
- DoEncrypt
- - SSEEnabled: true
- SSEEnabled: true
- Ref: AWS::NoValue
ProvisionedThroughput:
ReadCapacityUnits: 10
Expand Down
8 changes: 3 additions & 5 deletions src/definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,9 @@
"SSESpecification": {
"Fn::If": [
"DoEncrypt",
[
{
"SSEEnabled": true
}
],
{
"SSEEnabled": true
},
{
"Ref": "AWS::NoValue"
}
Expand Down

0 comments on commit fa76cbd

Please sign in to comment.