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

deployment not working #268

Open
Open
@pparent902

Description

@pparent902

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions