We have devices in an application called “in-production” and “in-office”.
I have some code that read the BALENA_APP_NAME environment variable. Based on the application name “in-production” or “in-office”, I want to enable/disable some feature on the device.
I prefer not to test this in the in-production fleet.
I was thinking of changing the BALENA_APP_NAME for some “in-office” devices to see if the “in-production” condition runs fine.
My question is: Can I easily change the Balena environment variable value (in this example BALENA_APP_NAME) without consequences? For example changing the BALENA_APP_NAME, does it sync directly to another application or something or just reset after reboot?
Devices running on the raspberrypi3 (OS image).