Closed mentormate-vassil-vassilev closed 7 years ago
Same happening for the "FunctionName" key inside the "Properties" object of a "AWS::Serverless::Function" resource. Based on the AWS SAM model (https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction) it should be supported. I am using the same version - 2016-10-31.
Thanks for letting us know. I see the missing FunctionName in our schema. Could you attach the actual template that shows the error you are seeing in the first casse?
Yes, I'll do. Here are some steps to reproduce:
I'm attaching the template here (renaming to TXT). Let me know if there is anything else you need.
Do you have an ETA on this? It's blocking the work I am currently doing.
Thanks!
Thanks for the repo. We just released version 1.12.1.1 of the VS toolkit which contains some fixes that made it so I was able to load that template with no errors.
Now it works for me. Thanks!
A valid CloudFormation template generated online from the AWS Console Designer throws errors in Visual Studio 2017 - " key is invalid for this object" and " is an unknown attribute for this resource". Here is a screenshot:
Thanks!