Skip to content

Commit 42f314c

Browse files
authored
enable SQS server-side encryption (#856)
1 parent ba95e6d commit 42f314c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,8 @@ $ echo "$QUEUE_POLICY" | jq .
241241
$ cat << EOF > /tmp/queue-attributes.json
242242
{
243243
"MessageRetentionPeriod": "300",
244-
"Policy": "$(echo $QUEUE_POLICY | sed 's/\"/\\"/g' | tr -d -s '\n' " ")"
244+
"Policy": "$(echo $QUEUE_POLICY | sed 's/\"/\\"/g' | tr -d -s '\n' " ")",
245+
"SqsManagedSseEnabled": true
245246
}
246247
EOF
247248

Diff for: docs/cfn-template.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Resources:
44
Type: 'AWS::SQS::Queue'
55
Properties:
66
MessageRetentionPeriod: 300
7+
SqsManagedSseEnabled: true
78
QueuePolicy:
89
Type: 'AWS::SQS::QueuePolicy'
910
Properties:

0 commit comments

Comments
 (0)