Terraform Azure - Login and remote state

CLI Login to azure for Terraform deployments Introduction In this article, we’ll explore the process of logging in to Azure for Terraform deployments and managing remote state. When working with Terraform to provision infrastructure in Azure, it’s crucial to establish a secure and authenticated connection to your Azure account. We’ll start by discussing the steps to log in to Azure using the az login command. This command will prompt you to authenticate with your Azure credentials, allowing you to access and manage your Azure resources within your Terraform configuration....

Azure CLI - activate azure cli autocomplete in zsh

How to enable azure cli autocomplete in macos zsh shell 1. Install azure cli brew update && brew install azure-cli All dependencies will be instaled automatically. The Homebrew formula of Azure CLI installs a completion file named az in the Homebrew-managed completions directory (default location is /usr/local/etc/bash_completion.d/). To enable completion, follow Homebrew’s instructions here: https://docs.brew.sh/Shell-Completion. For Zsh, add the following two lines to the bottom of your .zshrc file, then save and reload your Zsh profile:...