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公式更新しました 2年前
- AWS公式更新しました 1年前
- AWS公式更新しました 1年前
- AWS公式更新しました 1年前
Just wondering if you explored this idea of reading the config file?