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
VSCode Bicep extension incorrectly shows the following warning when trying to define allowed IP ranges inside of properties/configuration/ipSecurityRestrictions
"The specified "object" declaration is missing the following required properties: "name". If this is a resource type definition inaccuracy, report it using https://aka.ms/bicep-type-issues.bicep[BCP035](https://aka.ms/bicep/core-diagnostics#BCP035)"
I think it's incorrect because giving a name to each rule is not required on the UI, so it shouldn't be in Bicep as well.
Resource Type
Microsoft.App/containerApps
Api Version
2024-03-01
Issue Type
Other
Other Notes
VSCode Bicep extension incorrectly shows the following warning when trying to define allowed IP ranges inside of properties/configuration/ipSecurityRestrictions
"The specified "object" declaration is missing the following required properties: "name". If this is a resource type definition inaccuracy, report it using https://aka.ms/bicep-type-issues.bicep[BCP035](https://aka.ms/bicep/core-diagnostics#BCP035)"
I think it's incorrect because giving a name to each rule is not required on the UI, so it shouldn't be in Bicep as well.
Bicep Repro
ipSecurityRestrictions: [
{
action: 'Allow'
ipAddressRange: '173.245.48.0/20'
}
]
Confirm
The text was updated successfully, but these errors were encountered: