Skip to content

Greengrass access local device environment variables

0

As the title mentioned is there a way to access the device local environment variables while the greengrass is deploying or running the life cycle steps?

asked 5 years ago913 views

1 Answer
0
Accepted Answer

Hello,

Greengrass components receive environment variables from Greengrass and from the recipe. You may configure any environment variable by using the setEnv key in the recipe. You could also use any number of other methods to load environment variables/configuration from the device, such as by using the source shell command to load a file.

AWS
EXPERT

answered 5 years ago

  • Thanks for the information Michael.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.