-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
Description
Describe the bug
Referencing outputs from a Bicep module produces a warning:
Warning: The parsing of the template output named <output name> failed`
For a large codebase we get thousands of these warnings, making the output huge. This feels like a bug.
Expected behavior
I expect that the output either can be parsed, or if it is impossible to handle outputs like this it should be possible to silence these warnings.
Reproduction Steps
Given the following main.bicep file:
module dummy 'dummy.bicep' = {
name: 'dummy'
params: {
dummy: 'dummy'
}
}
output dummy string = dummy.outputs.dummyAnd the following module dummy.bicep:
param dummy string
output dummy string = dummyThen run TemplateAnalyzer on main.bicep.
Environment
TemplateAnalyzer version 0.7.0+582d9199d19acc60716af8f0874dc51cec6aa01b
Same issue on my local system (Ubuntu WSL on Windows) and in an Azure DevOps pipeline using the MicrosoftSecurityDevOps@1 task.
Reactions are currently unavailable