SAM Refused with "Template can not be parsed into a string. template=null"

0

I have the same issue as listed in
https://forums.aws.amazon.com/thread.jspa?threadID=290165

The template is
https://github.com/danil-smirnov/lambda-edge-logs-aggregator/blob/master/template-all-in-one.yaml

AWS could you check please?

Edited by: dsmirnov on May 21, 2019 9:17 AM

asked 5 years ago266 views
6 Answers
0
Accepted Answer

Same issue, as in the template deploys fine by itself, but doesn't deploy from the AWS Serverless Repository?

answered 5 years ago
0

Yes, the template is deployable with sam, but if I try to publish a new version I get this:

aws serverlessrepo create-application-version --application-id "arn:aws:serverlessrepo:us-east-1:085576722239:applications/lambda-edge-logs-aggregator" --semantic-version "1.0.0" --template-body "file://packaged.yaml"

An error occurred (BadRequestException) when calling the CreateApplicationVersion operation: Template can not be parsed into a string. template=null
answered 5 years ago
0

Hi @keetonaws , any news?
Do you need more information from my side?
I'd like to publish my app to the serverless repo as soon as possible...

answered 5 years ago
0

@dsmirnov We are actively working to fix this issue. I'll post another update when that fix is available. Sorry for the inconvenience, and thank you for reporting this!

answered 5 years ago
0

Hi @dsmirnov,
This problem is now fixed in all supported regions. Thanks again for reporting the issue!

AWS
answered 5 years ago
0

Hi @nestor-aws, thank you very much - I confirm the fix helps

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions