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
Unfortunately, this Bicep-generated code is flagged by ARM-TTK validation tool as not OK, because it calls concat() or format() within extensionResourceId(). This regex in ARM TTK flags it as an error:
In a Bicep template, I'm using the
getSecret
function to fetch a secret from an existing KeyVault, to get KeyVault access, and pass it as parameter to a nested template:When Bicep compiles this, it results in the following ARM template, which uses the
extensionResourceId
function to reference the KeyVault:Unfortunately, this Bicep-generated code is flagged by ARM-TTK validation tool as not OK, because it calls
concat()
orformat()
withinextensionResourceId()
. This regex in ARM TTK flags it as an error:https://github.com/Azure/arm-ttk/blob/master/arm-ttk/testcases/deploymentTemplate/ResourceIds-should-not-contain.test.ps1#L31
As a workaround, I can replace
with
So in JSON:
The text was updated successfully, but these errors were encountered: