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
Describe the bug
Specifying the scope property on a resourceGroup resource gives the following error
The property "scope" is not allowed on objects of type "Microsoft.Resources/resourceGroups". Permissible properties include "dependsOn", "location", "managedBy", "name", "properties", "tags". If this is an inaccuracy in the documentation, please report it to the Bicep Team.
This error is a bit misleading as the scope property is allowed on Microsoft.Resources/resourceGroups if using an existing reference. A more specific error should be given - something along the lines of
Scope is only allowed for resources of type Microsoft.Resources/resourceGroups when using an existing reference.
Bicep version
Vs Code 0.4.1124
Describe the bug
Specifying the
scope
property on a resourceGroup resource gives the following errorThis error is a bit misleading as the
scope
property is allowed onMicrosoft.Resources/resourceGroups
if using anexisting
reference. A more specific error should be given - something along the lines ofTo Reproduce
The text was updated successfully, but these errors were encountered: