We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e2a03c commit c9aa8c0Copy full SHA for c9aa8c0
data-collection/deploy/module-backup.yaml
@@ -228,7 +228,7 @@ Resources:
228
try:
229
count = store_to_s3(flatten_data_iterator, s3_prefix)
230
except backup.exceptions.ClientError as exc:
231
- if 'Insufficient privileges to perform this action.' in exc["errorMessage"]:
+ if 'Insufficient privileges to perform this action.' in str(exc):
232
raise Exception(
233
'You need to activate cross account jobs monitoring '
234
'https://docs.aws.amazon.com/aws-backup/latest/devguide/manage-cross-account.html#enable-cross-account'
0 commit comments