Closed StephenWeatherford closed 1 year ago
to hack around this, I have started wrapping my strings with string()
.
param dataFactoryName string = string('datafactory${uniqueString(resourceGroup().id)}')
param location string = resourceGroup().location
param storageAccountName string = string('storage${uniqueString(resourceGroup().id)}')
param blobContainerName string = string('blob${uniqueString(resourceGroup().id)}')
param managedIdentityName string = string('blob${uniqueString(resourceGroup().id)}')
param _artifactsLocation string = deployment().properties.templateLink.uri
@secure()
param _artifactsLocationSasToken string = ''
Same here. VSCode 1.74.3 (Universal) on MacOS, Bicep extension v0.13.1.
The string()
workaround works, but I don't want to modify the template's code just to workaround a bug in IDE. I'll use PowerShell until it's fixed.
PS First asked a question on StackOverflow and found this ticket later.
1) deploy !) you get asked questions like this: EXPECTED: Should be asking whether to use the default value as an expression or to enter a specific value (like other expressions) 2) allow it to create a params file !)
EXPECTED: Either a new value entered by user or nothing for default