Hi, when transferring a device between fleets, environment variables on the device level that are for specific services are removed as they are for services that differ from those of the new fleet; even if the services share a name or you pushed the same release to both fleets, the images differ. Environment variables on the device level that are not for specific services, on the other hand, should not be removed.
I found some feature requests related to your questions:
- Create device variables before the services are applied on the device
- Add support for retaining device variables when moving a device to another fleet - #2 by system
- Staging variables for services that aren't yet deployed on a device
Please feel free to vote for them if they resonate with you, and it would be helpful if you could share your use case in the ones relevant to you so that we could better understand the reason for the requests.