Skip to content

Automatic template.json detection #2355

@tsndr

Description

@tsndr

Describe your idea/feature/enhancement

I'd like to see SAM CLI detect template.json automatially just like it does with template.yaml/template.yml.

Example:

If I run sam validate with a template.yaml file it works.

If I use the JSON syntax I get an error: SAM Template Not Found
So I have to type: sam validate -t template.json to get it to work.

Things to consider:

  1. Will this require any updates to the SAM Spec
    No!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions