Closed dmgonch closed 9 months ago
After moving the resource deployment to a separate .bicep file (as suggested in https://github.com/Azure/bicep/issues/11846) the error does not repro anymore.
Thanks for logging the issue @dmgonch. That good additional context.
Looks like there may be an issue with some updates to custom types.
Leave it open for now and we'll have a look.
Double checked and concat expansion is occurring as expected. Thanks @dmgonch .
Description of the issue
Only reproes in PowerShell 7. Running
repro.ps1
below results in the error:But then simply commenting out
notUsedTypedParam
get rids of the error.To Reproduce
repro.ps1
repro.ps1
repro.bicep
module-one.bicep
module-two.bicep
Expected behaviour
No error and correctly generated
repro-export.json
Module in use and version:
Captured output from
$PSVersionTable
: