-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Support deployment with Bicep files - az bicep build does not output build warnings #17083
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure. Issue DetailsDescribe the bugI've been testing the features implemented by #16857, and have noticed that Command Name Errors: To Reproduce:You have a bicep file using an API version where types are not available named nsg-1.bicep
Expected BehaviorI expect that Environment Summary
Additional Context
|
bicep |
@shenglol Could you please take a look at this issue~ |
Thanks for reporting this. Will take a look. |
Describe the bug
I've been testing the features implemented by #16857, and have noticed that
az bicep build
does not output any build warnings.Command Name
az bicep build
Errors:
Running
az bicep build
successfully compiles the bicep file to an ARM template but it does not output any build warnings, only errors.To Reproduce:
You have a bicep file using an API version where types are not available named
nsg-1.bicep
, this should generate a warning.nsg-1.bicep
az bicep build -f .\nsg-1.bicep
If I run
az bicep build -f .\nsg-1.bicep
the command will run without any warnings or errors.bicep build .\ngs-1.bicep
If perform a build using Bicep CLI it outputs build warnings.
Expected Behavior
I expect that
az bicep build
should output build warnings just like Bicep CLI.Environment Summary
Additional Context
The text was updated successfully, but these errors were encountered: