Allow redeploying a <3 node cluster with no changes
Today, you can deploy a 1 node SF cluster via ARM template. However, if you subsequently redeploy the same 1 node (or < 3 node) cluster (for development of course) via ARM template, it always fails with:
"code": "SingleNodeClusterUpdateNotAllowed", "message": "Single node cluster update not allowed. Updates are allowed for clusters having node count equal or greater than 3."
This is not an upgrade- nothing has changed. Every other ARM template deploy operation I've used is idempotent, but redeploying a 1 node SF template just fails.
It should detect whether the deployed ARM template would result in any unsupported changes before failing with this message. No change deployments should work.
I think this is an important feature because SF resources are often part of a larger set of resources in an environment, and there’s no way (that I’m aware of) with ARM templates to detect whether there’s a difference between a set of fully materialized ARM templates and an environment. In other words, if there were a way to evaluate an SF resource ARM template and compare it to a deployed SF cluster, and then skip deploying the ARM template because there are no changes, I’d be happy with that.