We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bicep version Bicep CLI version 0.3.255 (589f037)
Describe the bug Declaring the target scope using an array not supported as per the bicep spec
Azure Policy Documentation "Azure Policy Definition deployments target either subscription or management group scopes."
To Reproduce Add the following to a Bicep file containing a Policy Definition:
targetScope = [ 'managementGroup' 'subscription' ]
VS Code Warning
Expected a value of type "'managementGroup' | 'resourceGroup' | 'subscription' | 'tenant'" but the provided value is of type "array".bicep(BCP033)
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Closing as dup of #788, but we should try to take care of this sooner rather than later cc @majastrz / @shenglol FYI
Sorry, something went wrong.
No branches or pull requests
Bicep version
Bicep CLI version 0.3.255 (589f037)
Describe the bug
Declaring the target scope using an array not supported as per the bicep spec
Azure Policy Documentation "Azure Policy Definition deployments target either subscription or management group scopes."
To Reproduce
Add the following to a Bicep file containing a Policy Definition:
VS Code Warning
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: