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
Running the tool now will give back errors relating to standard syntax use in SAM based Cloudformation templates such as:
E1001 Top level item Globals isn't valid
E1012 Ref ServerlessRestApi not found as a resource or parameter
E1019 String parameter ServerlessRestApi not found in string for Outputs/ApiURL/Value/Fn::Sub
In this case, It becomes a little tricky as resources like ServerlessRestApi might not be statically defined in the template but rather dynamically built to support a certain functions event properties.
The text was updated successfully, but these errors were encountered:
Transform logic hasn't been done yet. Our starting focus was around the CloudFormation Resource Specifications which doesn't include Transforms. That being said I have a few ideas on how we could handle this. I'm not sure we will be able to tackle all the rules with a serverless transform right away but I'm hoping we could handle Fn::GetAtt and Ref. It would be nice if there was a Serverless CloudFormation Spec existed.
Going to mark this for enhancement. In Scope: Support Ref, GetAtt for Serverless Transforms
Out of Scope:
Include Transform
Serverless resource properties. Ideally there would be an AWS generated spec or we may have to look into creating our own for cfn-lint.
Running the tool now will give back errors relating to standard syntax use in SAM based Cloudformation templates such as:
In this case, It becomes a little tricky as resources like
ServerlessRestApi
might not be statically defined in the template but rather dynamically built to support a certain functions event properties.The text was updated successfully, but these errors were encountered: