question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

az bicep version check should not block on failure

See original GitHub issue

Related command az bicep * az deployment * (with a bicep template file)

Is your feature request related to a problem? Please describe. the az commands that use bicep, check for a newer version of bicep before initiating the command. If that version check fails for some reason (e.g. 4xx) the command stops and the user is blocked from using any command that involves bicep in the cli

Describe the solution you’d like ignore failures that occur during the bicep version check and continue running the user’s command

Describe alternatives you’ve considered the user can modify the json file that has a timestamp for a version check to a future date and that will unblock, but for users running pipelines this is not always trivial.

Additional context We are working on changes that will make the check more resilient, but even with that – in the event of a failure, we should not block the user’s command.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

8reactions
bmoore-msftcommented, Oct 12, 2022
1reaction
bmoore-msftcommented, Oct 13, 2022

@shenglol is probably a better person to have a look…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Argument of type "null | string" · Issue #8890 · Azure/bicep
So it seems this error is definitely caused by version 0.12.1 ... Can you confirm you are not running v0.12 by checking az...
Read more >
Conditional deployment with Bicep - Azure Resource Manager
Describes how to conditionally deploy a resource in Bicep. ... of a conditional resource is allowed but may produce a deployment error.
Read more >
Getting Started with Azure Bicep (Step-by-Step)
To check, open a PowerShell console or terminal and check for the version of the Bicep CLI.
Read more >
Introduction to Azure Bicep v 0.4.x - DEV Community ‍ ‍
But if you use Azure CLI to install bicep, it will not update PATH, so you will ... at least, the Az PowerShell...
Read more >
Azure Bicep - Object reference not set to an instance
I'm using the latest version of Bicep (v0.9.1) which is available as of ... Can you try another region (just to test)? I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found