Open
Description
openedon May 8, 2022
Bicep version
Bicep CLI version 0.6.1 (73193aa)
Describe the bug
According to the documentation, valid values for the bypass parameter are "any combination of Logging,Metrics,AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics."
The linter rule and Intellisense both throw a warning that 'AzureServices,Logging,Metrics' is invalid and that it should be any single one of the values, not all of the above.
To Reproduce
Steps to reproduce the behavior:
The following will get you a yellow squiggly in VS Code and a warning BCP036 at build:
resource SA 'Microsoft.Storage/storageAccounts@2021-04-01' = {
//...
properties: {
networkAcls: {
bypass: 'AzureServices,Logging,Metrics'
//...
}
}
}
Additional context
Add any other context about the problem here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment