Mender, AWS IoT, Greengrass and automatic provisioning

grimsby
Sat, 14 Jan 2023 16:27:11 +0000
General Discussions

Hi,

I’m testing out the integration between Mender and AWS IoT. This works flawless and it helps me a lot! What I’m unsure about is how to update greengrass. So I’ve written a apply-device-config script which updates the greengrass config with the AWS certificate. All that works fine.

What I’m struggling with is “thingName”, which is from what I understand an ID which is generated server side by mender. This is also the name of the “thing” in AWS IoT.

How can I obtain “Device ID” in my apply-device-config script?

Kind regards, Kristian

2 posts - 2 participants