-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
Describe the issue
Please add support for Bicep ternary operations:
condition ? true
: false
Example Value
// Use provided subnet address or use the next CIDR block after the default subnet
var effectiveaddressPrefix = !empty(addressPrefix) ? addressPrefix
: replace(virtualNetwork.properties.addressSpace.addressPrefixes[0], '0.0/16', '2.0/23')
@description('Roles to assign to the registered application for accessing the App Configuration instance')
var rolesToAssign = [
'175b81b9-6e0d-490a-85e4-0d422273c10c' // App Configuration Reader
roleName == 'Owner'
? '5ae67dd6-50cb-40e7-96ff-dc2bfa4b606b' // App Configuration Data Owner
: '516239f1-63e1-4d78-a4de-a74fb236a071' // App Configuration Data Reader
]
Exception
lark.exceptions.UnexpectedToken: Unexpected token Token('QMARK', '?')