![]() Authenticating via a service principal:.Authenticating via a Microsoft account using Windows (with Bash or PowerShell).Authenticating via a Microsoft account using Cloud Shell (with Bash or PowerShell) and.For more information about options to authenticate Terraform to Azure, see Authenticating using the Azure CLI. This article explains how to authenticate Terraform to Azure for the following scenarios. Therefore, while you can use the Azure PowerShell module when doing your Terraform work, you first need to authenticate to Azure using the Azure CLI. Authenticating using Azure PowerShell isn't supported. Terraform only supports authenticating to Azure via the Azure CLI. Authenticate Terraform to Azure Terraform and Azure authentication scenarios ![]() Verify the global path configuration with the terraform command. Update your system's global path to the executable. This article was tested using Terraform version 1.1.4.įrom the download, extract the executable to a directory of your choosing (for example, c:\terraform). Install Terraform for WindowsÄownload Terraform. This article was tested using Azure CLI version 2.26.1. This article has been tested using Git Bash. There are many options on Windows to run bash commands, including Git Bash and Windows Terminal. Azure subscription: If you don't have an Azure subscription, create a free account before you begin.Specify service principal credentials in a Terraform provider block.Specify service principal credentials in environment variables.Create a service principal using Azure PowerShell. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |