Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snyk/lambda-env-updater
Very simple executable to update a lambda function environment variables
https://github.com/snyk/lambda-env-updater
driftctl infrastructure-as-code
Last synced: 3 months ago
JSON representation
Very simple executable to update a lambda function environment variables
- Host: GitHub
- URL: https://github.com/snyk/lambda-env-updater
- Owner: snyk
- License: apache-2.0
- Created: 2021-04-27T14:27:12.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-09T07:43:05.000Z (7 months ago)
- Last Synced: 2024-07-09T10:09:27.962Z (7 months ago)
- Topics: driftctl, infrastructure-as-code
- Language: Go
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 76
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# lambda-env-updater
## Why ?
AWS CLI allows you to update your lambda function's configuration with the following command:
```shell
aws lambda update-function-configuration --function-name --environment
```Unfortunately this command replaces the whole environemnt with the newly provided, making it impossible to update just one env variable.
## Usage
```shell
lambda-env-updater -name function-name -env FOO=BAR -env BAR=FOO
```## Contributing
Should you wish to make a contribution please open a pull request against this repository with a clear description of the change with tests demonstrating the functionality. You will also need to agree to the [Contributor Agreement](./Contributor-Agreement.md) before the code can be accepted and merged.