2 回答
- 最新
- 投票最多
- 评论最多
0
Hi,
The correct and the recommended way of knowing the thing name within the Greengrass scope is by using the AWS_IOT_THING_NAME environment variable. However, as you mentioned it already - you can read the effective config file at <greengrass-root>/config/effectiveConfig.yaml to know the thingName under system property outside of Greengrass.
Thanks,
Saranya
已回答 3 年前
0
As a follow-up, I now see that there is an "effective config" file in the Greengrass root directory (/greengrass/v2/config/effectiveConfig.yaml on my system after following the current quick-start installation instructions).
In that YAML file, there is a section system.thingName which shows the currently registered name.
Is this the appropriate place to find this information?
已回答 3 年前
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
Just wondering if you explored this idea of reading the config file?