You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of a process of cutting costs due to a needless infinite retention of CloudWatch logs, I attempted to add log group resources to add a one week expiration. I followed the steps and warnings in the linked issue comment without success. I also encountered this in another project, that just had the serverless transform by mistake, once I removed it, that cloudformation template worked fine. I currently reverted the changes in this public repo so that the transform would be successful:
That should work as a way to see how to reproduce the issue, as well as the below. As a note, I am also validating the template in a seperate build project using cfn-lint, cloudformation validate, and cfn_nag. I am validating both the project template and the packaged template output.
Steps to reproduce the issue:
Create a AWS::Serverless::Function resource with a name
Create a AWS::Logs::LogGroup resource with the name as !Sub "/aws/lambda/${YOUR_LAMBDA_RESOURCE}"
Deploy the cloudformation template
Observed result:
The stack fails withReceived malformed response from transform AWS::Serverless-2016-10-31
Expected result:
The stack transforms successfully and creates LogGroups for the Lambda functions.
The text was updated successfully, but these errors were encountered:
As part of a process of cutting costs due to a needless infinite retention of CloudWatch logs, I attempted to add log group resources to add a one week expiration. I followed the steps and warnings in the linked issue comment without success. I also encountered this in another project, that just had the serverless transform by mistake, once I removed it, that cloudformation template worked fine. I currently reverted the changes in this public repo so that the transform would be successful:
https://github.com/TrollPursePublishing/aws-codepipeline-custom-action
That should work as a way to see how to reproduce the issue, as well as the below. As a note, I am also validating the template in a seperate build project using cfn-lint, cloudformation validate, and cfn_nag. I am validating both the project template and the packaged template output.
Steps to reproduce the issue:
Observed result:
The stack fails with
Received malformed response from transform AWS::Serverless-2016-10-31
Expected result:
The stack transforms successfully and creates LogGroups for the Lambda functions.
The text was updated successfully, but these errors were encountered: