-
Notifications
You must be signed in to change notification settings - Fork 731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optional module name in for-loop with custom scope, linter warning and compile error #13295
Comments
This is a bug with the optional module names feature. The linter doesn't take the possibility of an optional name into account. The generated name expression of a module in a loop is dependent on the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bicep version
Bicep CLI version 0.25.3 (8627085)
Describe the bug
When using
optionalModuleNames
and specifying thescope
property on a module in a for loop without a module name, the linter yields the following warning:To Reproduce
Compile Result
The text was updated successfully, but these errors were encountered: