2 Answers
- Newest
- Most votes
- Most comments
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
answered 3 years ago
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?
answered 3 years ago
Relevant content
- Accepted Answerasked 10 months ago
- asked 10 days ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 6 months ago
Just wondering if you explored this idea of reading the config file?