Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

deployment not working #268

Open
pparent902 opened this issue Feb 11, 2022 · 0 comments
Open

deployment not working #268

pparent902 opened this issue Feb 11, 2022 · 0 comments

Comments

@pparent902
Copy link

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())

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant