Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when creating change set for the CF Template. #21

Open
kirnberger1980 opened this issue Jan 23, 2020 · 1 comment
Open

Error when creating change set for the CF Template. #21

kirnberger1980 opened this issue Jan 23, 2020 · 1 comment

Comments

@kirnberger1980
Copy link

Hi there,

when I create a change set for the CF template, I get the following error:
FAILED - Transform AWS::Serverless-2016-10-31 failed with: Invalid Serverless Application Specification document. Number of errors found: 2. Resource with id [SetRetentionForExistingLogGroups] is invalid. Either 'InlineCode' or 'CodeUri' must be set Resource with id [SetRetentionForNewLogGroups] is invalid. Either 'InlineCode' or 'CodeUri' must be set

What can I do to resolve the issue?

Kind Regards,
Marcell

@theburningmonk
Copy link
Collaborator

@kirnberger1980 can you share the relevant bits in your CloudFormation/SAM/serverless yml?

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

No branches or pull requests

2 participants