SQS - prevent a missing policy json (#4706)
This commit is contained in:
parent
43269fc8af
commit
ce9fb90663
@ -338,8 +338,7 @@ class Queue(CloudFormationModel):
|
|||||||
if attributes.get("RedrivePolicy", None) is not None:
|
if attributes.get("RedrivePolicy", None) is not None:
|
||||||
self._setup_dlq(attributes["RedrivePolicy"])
|
self._setup_dlq(attributes["RedrivePolicy"])
|
||||||
|
|
||||||
if attributes.get("Policy"):
|
self.policy = attributes.get("Policy")
|
||||||
self.policy = attributes["Policy"]
|
|
||||||
|
|
||||||
self.last_modified_timestamp = now
|
self.last_modified_timestamp = now
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user