question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to create CloudFormation change set: Received malformed response

See original GitHub issue

Hi,

When I publish my aws lambda function I have a final error with this:

Uploading to S3. (Bucket: wtbucketlambda Key: WT-serverless-xxxxxx.template) … Progress: 100% Found existing stack: True CloudFormation change set created … Waiting for change set to be reviewed Failed to create CloudFormation change set: Received malformed response from transform AWS::Serverless-2016-10-31 Failed to publish AWS Serverless application

Do you know how can I fix it?

It’s a big issue because I can’t publish my lambda function

Thanks,

My serverless template:

`{ “AWSTemplateFormatVersion” : “2010-09-09”, “Transform” : “AWS::Serverless-2016-10-31”, “Description” : “Starting template for an AWS Serverless Application.”, “Resources” : { “DefaultFunction” : { “Type” : “AWS::Serverless::Function”, “Properties”: { “Handler”: “not_required_for_custom_runtime”, “Runtime”: “provided”, “CodeUri”: “”, “Description”: “Default function”, “MemorySize”: 256, “Timeout”: 30, “Role”: null, “Policies”: [ “AWSLambdaFullAccess”, “AmazonSSMReadOnlyAccess”, “AWSLambdaVPCAccessExecutionRole” ], “Events”: { “ProxyResource”: { “Type”: “Api”, “Properties”: { “Path”: “/{proxy+}”, “Method”: “ANY” } }, “APIWarmingSchedule”: { “Type”: “Schedule”, “Properties”: { “Schedule”: “rate(5 minutes)”, “Input”: “{ "Resource": "WarmingLambda", "Body": "5" }” } } } } } }, “Outputs” : { “ApiURL” : { “Description” : “API endpoint URL for Prod environment”, “Value” : { “Fn::Sub” : “https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/” } }

} }`

My aws lambda tools default json file

{ “region” : “us-east-1”, “profile” : “wetip”, “s3-bucket” : “wtbucketlambda”, “template” : “serverless.template”, “stack-name” : “WT”, “configuration” : “Release”, “framework” : “netcoreapp2.2”, “msbuild-parameters” : “–self-contained true” }

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:44 (2 by maintainers)

github_iconTop GitHub Comments

13reactions
ashishdhingracommented, Nov 25, 2020

Hi All,

The issue is tracked here https://github.com/aws/aws-lambda-dotnet/issues/765. Looks like there is a service outage for us-east-1 region. Service teams are working on it and the issue should be resolved soon.

Thanks, Ashish

12reactions
itsharicommented, Nov 25, 2020

Seeing the same issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AWS CloudFormation Transform - How do I properly return ...
I've done some digging and there is currently no way to return an error message with a CloudFormation macro failure.
Read more >
Resolve "MalformedPolicyDocument" errors in ...
When I try to create or update an AWS CloudFormation stack, I get a "MalformedPolicyDocument" error message. I still get the error, even...
Read more >
Resolve template validation or template format errors in ...
This returns the following error: "Template validation error: Invalid template property or properties [Bucket]." This error is caused because the CloudFormation ...
Read more >
Troubleshooting CloudFormation - AWS Documentation
If AWS CloudFormation fails to create, update, or delete your stack, you can view error messages or logs to help you learn more...
Read more >
Troubleshooting failed Cloudformation ...
Find the iam:CreatePolicyVersion call in CloudTrail that failed. It will show the json document that was submitted to the API. Take the json...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found