Skip to content

Commit

Permalink
policy should be on one line to create queue (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwagner5 authored Jun 7, 2021
1 parent a043246 commit dd82bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ $ echo "$QUEUE_POLICY" | jq .
$ cat << EOF > /tmp/queue-attributes.json
{
"MessageRetentionPeriod": "300",
"Policy": "$(echo $QUEUE_POLICY | sed 's/\"/\\"/g')"
"Policy": "$(echo $QUEUE_POLICY | sed 's/\"/\\"/g' | tr -d -s '\n' " ")"
}
EOF
Expand Down

0 comments on commit dd82bb0

Please sign in to comment.