From b8bc32195e1410dd20d67957c1a8e65263b27c5b Mon Sep 17 00:00:00 2001 From: logphile Date: Thu, 21 Dec 2023 13:21:42 -0500 Subject: [PATCH] Final touches to post --- _posts/2023-12-19-install-bicep.md | 34 +++++++++++++++--------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/_posts/2023-12-19-install-bicep.md b/_posts/2023-12-19-install-bicep.md index 2da3c80..dcfbc0e 100644 --- a/_posts/2023-12-19-install-bicep.md +++ b/_posts/2023-12-19-install-bicep.md @@ -26,18 +26,17 @@ Azure Bicep was announced at Ignite 2020. Bicep is Microsoft's (DSL) Domain-Spec ## Difficulty Level - [X] [ ] [ ] [ ] [ ] -1. Install the Bicep Extension for VSCode +## Install the Bicep Extension for VSCode Open VSCode and open Extensions. Search for *bicep*. VSCode bicep extension search results _VSCode Bicep Extension search results_ - - Next, click Install. VSCode bicep extension install +_VSCode Bicep Extension install button_ Done. @@ -47,47 +46,48 @@ Done. - [ ] Install Azure CLI - [ ] Verify bicep developer environment requirements met -2. Next, we need to install the Azure CLI.* +## Install Azure CLI* -In the past, the Bicep CLI was separate from the Azure CLI. Microsoft has made things easier. Per the documentation, "Azure CLI automatically installs the Bicep CLI when a command is executed that needs it." +>In the past, the Bicep CLI was separate from the Azure CLI. Microsoft has made things easier. Per the documentation, "Azure CLI automatically installs the Bicep CLI when a command is executed that needs it." +{: .prompt-info} Open the link to the MSI for the latest version of the Azure CLI: -https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli +(https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli) Choose the release for your system, most likely the 64-bit option. Azure CLI MSI Installer +_Azure CLI MSI Installer_ Once the installer is downloaded, open and click through (Next, Accept EULA, Install, Finish) the installation. Done. -## Tasks - -- [x] Install Bicep extension for Visual Studio Code -- [x] Install Azure CLI -- [ ] Verify bicep developer environment requirements met - -3. Lastly, verify everything needed to author Bicep files from VSCode. +## Lastly, verify everything needed to author Bicep files from VSCode. Verify the Azure CLI was installed correctly. Open Powershell and run the *az --version* command. Check Azure CLI version +_Checking the Azure CLI version_ Now, if we try and verify our Bicep version, we get something like this... Check Bicep CLI version error +_Azure Bicep CLI version error_ Remember, the "Azure CLI automatically installs the Bicep CLI when a command is executed that needs it." We haven't run any commands that would automatically install the Bicep CLI. The prompt says to run *az bicep install*. Okay. -Check Bicep CLI version error +Azure Bicep CLI install +_Running Azure Bicep CLI install_ -Check Bicep CLI version error +Azure Bicep CLI install finished +_Azure Bicep CLI install finished_ And running *az bicep version* is successful this time. -Check Bicep CLI version error +Check Bicep CLI version again +_Checking Azure Bicep version again_ To make sure you have the latest Bicep version you can use the *az bicep upgrade* command. @@ -97,7 +97,7 @@ And running *az bicep version* is successful this time. - [x] Install Azure CLI - [X] Verify bicep developer environment requirements met -And that's it, we have successfully verified all the requirements are met. +And that's it, all Bicep development environment requirements have been met! ### Resources used in this post ###