How to preserve existing tags when re-deploying resource via ARM template

Occasional Contributor

I've noticed that each time we deploy our resource via ARM template this results in all tags that was set manually on these resource to be removed (more precicely - replaced to ones specified in ARM template). In this an expected behavior? Are there any easy way to preserve custom tags and not erase them? (non-easy way example is: read tags on resource before running ARM template and pass all these tags back to ARM).

ARM template mode is Incremental.

0 Replies