Hello @Clemens Mohr ,
at this moment for Azure IoT Edge, device twin settings, module twin settings, and module environment variables are not directly related:
- For an Azure IoT Edge device, the device twin is basically ignored from a device perspective. There is no (user written) logic listening to device twin changes.
- Module twin settings (like desired and reported properties) are controlled first by the initial Deployment manifest and later on using the event/callback mechanism
- Module environment variables are only controlled by the deployment manifest. Changing the deployment manifest will 'touch' all modules
As far as I know, Docker environment variables are also static, not dynamically changeable. Correct me if I'm wrong.
On the other hand, this would be a nice feature. As seen here, you can share your idea here.