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
Emit an error diagnostic when a secure output is dereferenced indirectly (#17453)
Resolves#16992
Indirect references to module outputs don't support compilation to the
`listOutputsWithSecureValues` function due to a combination of
limitations in the compiler and the backend. This PR adds an error
diagnostic to expressions that will cause a deployment error today.
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/17453)
("BCP426",DiagnosticLevel.Error,"Secure outputs may only be accessed via a direct module reference. Only non-sensitive outputs are supported when dereferencing a module indirectly via a variable or lambda."),
("BCP426",DiagnosticLevel.Error,"Secure outputs may only be accessed via a direct module reference. Only non-sensitive outputs are supported when dereferencing a module indirectly via a variable or lambda."),
"Secure outputs may only be accessed via a direct module reference. Only non-sensitive outputs are supported when dereferencing a module indirectly via a variable or lambda.");
0 commit comments