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

serverless-sam outputs invalid template for AppRepo #18

Open
tmclaugh opened this issue Jan 29, 2018 · 0 comments
Open

serverless-sam outputs invalid template for AppRepo #18

tmclaugh opened this issue Jan 29, 2018 · 0 comments

Comments

@tmclaugh
Copy link

When using serverless-sam to generate a template for AppRepo I get the following error

com.amazonaws.serverlessappsrepo.template.InvalidTemplateException: Resource with name [ThreatStackAwsSnsPublisherLambdaPermission] is invalid. AWS::Lambda::Permission is not a supported Serverless Apps Repository Type.

After I removed that resource I received a similar error:

com.amazonaws.serverlessappsrepo.template.InvalidTemplateException: Resource with name [SnsConfirmSubscriptionIamManagedPolicy] is invalid. AWS::IAM::ManagedPolicy is not a supported Serverless Apps Repository Type.

Original serverless.yml is here: https://github.com/ServerlessOpsIO/threatstack-aws-sns-publisher/blob/master/serverless.yml
SAM template can be found here: https://s3.amazonaws.com/serverlessops-opensource-deploy-dev/threatstack-aws-sns-publisher/b472ba61a2f1d4c5f007a2c3ae03fcdb8b71e44e-72/deploy/sam-template.yml

Are these just limitations of AppRepo or are they invalid SAM resources?

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

1 participant