Skip to content

Add support for SAM cli templates #45

Description

@tim-white87

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions