2 Risposte
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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
con risposta 3 anni fa
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?
con risposta 3 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 3 anni fa
Just wondering if you explored this idea of reading the config file?