Skip to content

local invoke --env-vars should process .yml files as well - not just .json #3113

Open
@maxfunke

Description

@maxfunke

enhancement - feature request

sam local invoke --env-vars should also be able to process .yml files.
As of now, it has to be a .json file.

Proposal

i.e. cloudformation does allow to load environment variables from a .yml file for example with

provider:
  environment: ${file(./env.yml)}

So it would be handy if I could reuse the file.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/local/invokesam local invoke commandstage/pm-reviewWaiting for review by our Product Manager, please don't work on this yettype/featureFeature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions