Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This diagnostic occurs when you reference a variable in parameter default values.
This symbol cannot be referenced here. Only other parameters can be referenced in parameter default values.
Error
Reference another parameter instead.
The following example raises the diagnostic because the parameter default value references a variable:
param foo string = bar
var bar = 'HelloWorld!'
You can fix the diagnostic by referencing another parameter:
param foo string = bar
param bar string = 'HelloWorld!'
output outValue string = foo
For more information about Bicep diagnostics, see Bicep core diagnostics.