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?

Madhav
已提問 2 年前檢視次數 596 次
1 個回答
0
已接受的答案

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
專家
已回答 2 年前
  • Thanks for the information Michael.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南