Skip to content

Commit

Permalink
enable SQS server-side encryption (#856)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjerad authored Jun 27, 2023
1 parent ba95e6d commit 42f314c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@ $ echo "$QUEUE_POLICY" | jq .
$ cat << EOF > /tmp/queue-attributes.json
{
"MessageRetentionPeriod": "300",
"Policy": "$(echo $QUEUE_POLICY | sed 's/\"/\\"/g' | tr -d -s '\n' " ")"
"Policy": "$(echo $QUEUE_POLICY | sed 's/\"/\\"/g' | tr -d -s '\n' " ")",
"SqsManagedSseEnabled": true
}
EOF
Expand Down
1 change: 1 addition & 0 deletions docs/cfn-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Resources:
Type: 'AWS::SQS::Queue'
Properties:
MessageRetentionPeriod: 300
SqsManagedSseEnabled: true
QueuePolicy:
Type: 'AWS::SQS::QueuePolicy'
Properties:
Expand Down

0 comments on commit 42f314c

Please sign in to comment.