local invoke --env-vars should process .yml files as well - not just .json
Open
area/local/invoke
stage/pm-review
type/feature
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 1.2k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 52
Description
### 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
```yaml
provider:
environment: ${file(./env.yml)}
```
So it would be handy if I could reuse the file.
Thank you
Contributor guide
Assessment
This issue has not been assessed yet.