You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The template worked in the past and recently stopped working. Potentially due to Portal update
template 8-16
Even if the name is properly filled, the error check would not go away, and it prevents deployment.
After inspection, it is due to lack of conditional logic to make clusterWitnessStorageAccountName optional and skip creating a storage account although the template attempts to set a variable clusterWitnessStorageAccountNameVar to "" when witnessType is "No Witness", it never uses a condition on the storage account resource itself.
Suggested fix is to add "condition": "[equals(parameters('witnessType'), 'Cloud')]", to line 549
I can confirm that the conditional logic removes the error.
The text was updated successfully, but these errors were encountered:
The template worked in the past and recently stopped working. Potentially due to Portal update
template 8-16
Even if the name is properly filled, the error check would not go away, and it prevents deployment.
After inspection, it is due to lack of conditional logic to make clusterWitnessStorageAccountName optional and skip creating a storage account although the template attempts to set a variable clusterWitnessStorageAccountNameVar to "" when witnessType is "No Witness", it never uses a condition on the storage account resource itself.
Suggested fix is to add "condition": "[equals(parameters('witnessType'), 'Cloud')]", to line 549
I can confirm that the conditional logic removes the error.
The text was updated successfully, but these errors were encountered: