cform-VSCode icon indicating copy to clipboard operation
cform-VSCode copied to clipboard

Add support for SAM cli templates

Open tim-white87 opened this issue 5 years ago • 1 comments

Hey all, Great plugin, really enjoy it. When I use SAM cli templates like:

DerpApi:
    Type: AWS::Serverless::Api
    Properties:
      StageName: dev
      Cors:
        AllowHeaders: "'Accept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization'"
        AllowOrigin: "'*'" # TODO dynamic
        AllowMethods: "'POST, GET, OPTIONS'"

the plugin throws errors since the resource is an "invalid" value. Here are the docs around it: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md

tim-white87 avatar Sep 26 '19 16:09 tim-white87

duplicate of https://github.com/aws-scripting-guy/cform-VSCode/issues/18

PatMyron avatar Sep 27 '20 02:09 PatMyron