{"action":"closed","issue":{"url":"https://api.github.com/repos/Azure/iotedge/issues/1885","repository_url":"https://api.github.com/repos/Azure/iotedge","labels_url":"https://api.github.com/repos/Azure/iotedge/issues/1885/labels{/name}","comments_url":"https://api.github.com/repos/Azure/iotedge/issues/1885/comments","events_url":"https://api.github.com/repos/Azure/iotedge/issues/1885/events","html_url":"https://github.com/Azure/iotedge/issues/1885","id":510636447,"node_id":"MDU6SXNzdWU1MTA2MzY0NDc=","number":1885,"title":"Persistent per device parameters","user":{"login":"abouroubi","id":11291350,"node_id":"MDQ6VXNlcjExMjkxMzUw","avatar_url":"https://avatars1.githubusercontent.com/u/11291350?v=4","gravatar_id":"","url":"https://api.github.com/users/abouroubi","html_url":"https://github.com/abouroubi","followers_url":"https://api.github.com/users/abouroubi/followers","following_url":"https://api.github.com/users/abouroubi/following{/other_user}","gists_url":"https://api.github.com/users/abouroubi/gists{/gist_id}","starred_url":"https://api.github.com/users/abouroubi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abouroubi/subscriptions","organizations_url":"https://api.github.com/users/abouroubi/orgs","repos_url":"https://api.github.com/users/abouroubi/repos","events_url":"https://api.github.com/users/abouroubi/events{/privacy}","received_events_url":"https://api.github.com/users/abouroubi/received_events","type":"User","site_admin":false},"labels":[{"id":1624812919,"node_id":"MDU6TGFiZWwxNjI0ODEyOTE5","url":"https://api.github.com/repos/Azure/iotedge/labels/area:app","name":"area:app","color":"07ff76","default":false}],"state":"closed","locked":false,"assignee":{"login":"dmolokanov","id":6630003,"node_id":"MDQ6VXNlcjY2MzAwMDM=","avatar_url":"https://avatars2.githubusercontent.com/u/6630003?v=4","gravatar_id":"","url":"https://api.github.com/users/dmolokanov","html_url":"https://github.com/dmolokanov","followers_url":"https://api.github.com/users/dmolokanov/followers","following_url":"https://api.github.com/users/dmolokanov/following{/other_user}","gists_url":"https://api.github.com/users/dmolokanov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmolokanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmolokanov/subscriptions","organizations_url":"https://api.github.com/users/dmolokanov/orgs","repos_url":"https://api.github.com/users/dmolokanov/repos","events_url":"https://api.github.com/users/dmolokanov/events{/privacy}","received_events_url":"https://api.github.com/users/dmolokanov/received_events","type":"User","site_admin":false},"assignees":[{"login":"dmolokanov","id":6630003,"node_id":"MDQ6VXNlcjY2MzAwMDM=","avatar_url":"https://avatars2.githubusercontent.com/u/6630003?v=4","gravatar_id":"","url":"https://api.github.com/users/dmolokanov","html_url":"https://github.com/dmolokanov","followers_url":"https://api.github.com/users/dmolokanov/followers","following_url":"https://api.github.com/users/dmolokanov/following{/other_user}","gists_url":"https://api.github.com/users/dmolokanov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmolokanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmolokanov/subscriptions","organizations_url":"https://api.github.com/users/dmolokanov/orgs","repos_url":"https://api.github.com/users/dmolokanov/repos","events_url":"https://api.github.com/users/dmolokanov/events{/privacy}","received_events_url":"https://api.github.com/users/dmolokanov/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2019-10-22T12:55:01Z","updated_at":"2019-11-15T21:42:26Z","closed_at":"2019-11-15T21:42:26Z","author_association":"NONE","body":"<!--\r\nHi there! Thank you for discovering and submitting an issue!\r\n\r\nA potentially helpful troubleshooting guide may be found at our [Common issues and resolutions](https://docs.microsoft.com/en-us/azure/iot-edge/troubleshoot) page.\r\nNote: please use your Azure subscription if you need to share any information from your Azure subscription such as connection strings, service names (IoTHub, Provisioning), etc.\r\n\r\nNeed Support?\r\n* Have a feature request? Please post it on [User Voice](https://feedback.azure.com/forums/907045-azure-iot-edge) to help us prioritize.\r\n* Have a technical question? Ask on [Stack Overflow](https://stackoverflow.com/questions/tagged/azure-iot-edge) with tag \"azure-iot-edge\".\r\n* Need support? Azure customers with support plans have access to priority technical support directly from the Azure Portal. Support plan details are at: https://azure.microsoft.com/en-us/support/plans/\r\n\r\nProvide a general summary of the issue in the Title above\r\n-->\r\n## Expected Behavior\r\nI want to have per device parameters that don't get overriden when I deploy a new version of my modules.\r\n\r\n\r\n## Current Behavior\r\nI'm using Environnement vars to configure my module, each device have different configuration, I'm also using IoT device configuration for common parameters like Module version to use, but even if I don't have Env vars, when I deploy a new version, my per device env vars get removed.\r\n\r\n## Steps to Reproduce\r\nProvide a detailed set of steps to reproduce the bug.\r\n1. Set Env vars in a module deployement for a particular device\r\n2. Create an IoT device configuration that targets the device\r\n3. Apply the configuration\r\n4.\r\n\r\n## Context (Environment)\r\n\r\n### Output of `iotedge check`\r\n\r\n<details>\r\n<summary>Click here</summary>\r\n\r\n```\r\n\r\n<Paste here between the triple backticks>\r\n\r\n```\r\n</details>\r\n\r\n### Device Information\r\n* Host OS [e.g. Ubuntu 16.04, Ubuntu 18.04, Windows IoT Core]:  Raspbian Stretch\r\n* Architecture [e.g. amd64, arm32, arm64]: arm32\r\n* Container OS [e.g. Linux containers, Windows containers]: Linux\r\n\r\n### Runtime Versions\r\n* iotedged [run `iotedge version`]: 1.0.8\r\n* Edge Agent [image tag (e.g. 1.0.0)]: 1.0.0\r\n* Edge Hub [image tag (e.g. 1.0.0)]: 1.0.0\r\n* Docker/Moby [run `docker version`]: \r\nClient:\r\n Version:           3.0.6\r\n API version:       1.40\r\n Go version:        go1.12.5\r\n Git commit:        a63faebc\r\n Built:             Wed Jun 19 23:09:02 2019\r\n OS/Arch:           linux/arm\r\n Experimental:      false\r\n\r\nServer:\r\n Engine:\r\n  Version:          3.0.6\r\n  API version:      1.40 (minimum version 1.12)\r\n  Go version:       go1.12.5\r\n  Git commit:       b07f53d\r\n  Built:            Thu Jun 20 03:28:26 2019\r\n  OS/Arch:          linux/arm\r\n  Experimental:     false\r\n containerd:\r\n  Version:          v1.2.6\r\n  GitCommit:        894b81a4b802e4eb2a91d1ce216b8817763c29fb\r\n runc:\r\n  Version:          1.0.0-rc8\r\n  GitCommit:        425e105d5a03fabd737a126ad93d62a9eeede87f\r\n docker-init:\r\n  Version:          0.18.0\r\n  GitCommit:        fec3683\r\n\r\n\r\n"}}
{"actor":{"display_login":"dmolokanov"}}