1 Answer
- Newest
- Most votes
- Most comments
0
Hi, To update the environment variable for lambda components is different with creating lambda components, the correct way is to merge
"lambdaExecutionParameters": {
"EnvironmentVariables": {
"VAR_2": "new value 2"
}
},
lambdaExecutionParameters
and EnvironmentVariables
are shown in the component recipe
answered 9 months ago
Thank you, it works indeed.
Relevant content
- asked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
When you set Lambda environment variables from the CLI it overwrites what was there. I don't know how Greengrass works, but you may need to set all the variables (new and existing).