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

已提問 5 年前檢視次數 238 次
6 個答案
0
已接受的答案

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

已回答 5 年前
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
已回答 5 年前
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...

已回答 5 年前
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!

已回答 5 年前
0

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

AWS
已回答 5 年前
0

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

已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南