You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in my log... maybe something is missing in the role...
T02:35:37.838Z [WARNING]: Traceback (most recent call last):
File "/root/.local/lib/python3.7/site-packages/samcli/lib/samlib/wrapper.py", line 68, in run_plugins
parser.parse(template_copy, all_plugins) # parse() will run all configured plugins
File "/root/.local/lib/python3.7/site-packages/samcli/lib/samlib/wrapper.py", line 102, in parse
raise InvalidDocumentException(document_errors)
samtranslator.model.exceptions.InvalidDocumentException: [InvalidResourceException('ImageMagick', 'User: arn:aws:sts::123456789abc:assumed-role/AmplifyBackend/BuildSession is not authorized to perform: serverlessrepo:CreateCloudFormationTemplate on resource: arn:aws:serverlessrepo:us-east-1:cba987654321:applications/image-magick-lambda-layer')]
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/.local/bin/sam", line 8, in
sys.exit(cli())
in my log... maybe something is missing in the role...
T02:35:37.838Z [WARNING]: Traceback (most recent call last):
File "/root/.local/lib/python3.7/site-packages/samcli/lib/samlib/wrapper.py", line 68, in run_plugins
parser.parse(template_copy, all_plugins) # parse() will run all configured plugins
File "/root/.local/lib/python3.7/site-packages/samcli/lib/samlib/wrapper.py", line 102, in parse
raise InvalidDocumentException(document_errors)
samtranslator.model.exceptions.InvalidDocumentException: [InvalidResourceException('ImageMagick', 'User: arn:aws:sts::123456789abc:assumed-role/AmplifyBackend/BuildSession is not authorized to perform: serverlessrepo:CreateCloudFormationTemplate on resource: arn:aws:serverlessrepo:us-east-1:cba987654321:applications/image-magick-lambda-layer')]
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/.local/bin/sam", line 8, in
sys.exit(cli())