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
In the subscription resource provider registration logic, it very much looks like there is a bug that ends up causing an error.
The reason is because that output from Invoke-RegisterSubscriptionResourceProviders.ps1 is not existing since this section is not being invoked, as expected since I haven't passed in any features to register on the provider. The main.bicep on the other hand doesn't take this into consideration and will try to emit a non-existing value.
I also might suspect there is an additional bug, as it looks like there is missing a parameter in the script to pass features at all. Looking at the log a unknown parameter is passed to Invoke-RegisterSubscriptionResourceProviders.ps1 with no value and not declared as a parameter in the script either, hence ignored.
To Reproduce
Steps to reproduce the behaviour:
Example configuration that triggers the behaviour:
Describe the bug
In the subscription resource provider registration logic, it very much looks like there is a bug that ends up causing an error.
The reason is because that output from
Invoke-RegisterSubscriptionResourceProviders.ps1
is not existing since this section is not being invoked, as expected since I haven't passed in any features to register on the provider. Themain.bicep
on the other hand doesn't take this into consideration and will try to emit a non-existing value.bicep-lz-vending/src/scripts/Invoke-RegisterSubscriptionResourceProviders.ps1
Lines 84 to 86 in 4e411ef
bicep-lz-vending/main.bicep
Lines 705 to 706 in 4e411ef
I also might suspect there is an additional bug, as it looks like there is missing a parameter in the script to pass features at all. Looking at the log a unknown parameter is passed to
Invoke-RegisterSubscriptionResourceProviders.ps1
with no value and not declared as a parameter in the script either, hence ignored.To Reproduce
Steps to reproduce the behaviour:
Example configuration that triggers the behaviour:
Expected behaviour
No error should be emitted.
Screenshots 📷
Correlation ID
2e19e2fa-54e9-4a37-b415-2b1ca5aa8274
Additional context
If needed, we can schedule a meeting to explain further.
The text was updated successfully, but these errors were encountered: