- Learning DevOps
- Mikael Krief
- 187字
- 2021-06-24 12:32:05
Terraform configuration for local development and testing
When you work locally and want to test the Terraform code quickly, in a sandbox environment, for example, it may be more convenient and faster to use your own Azure account instead of using an SP.
To do this, it is possible to connect to Azure beforehand with the az login command, and then enter your identification information in the window that opens.
The following is a screenshot of the Azure login window:

If several subscriptions are accessed, the desired one can be selected with the following command:
az account set --subscription="<Subscription ID>"
Then, we configure the Terraform provider as before with the provider, "azurerm" { }.
Of course, this authentication method is not to be done in the case of execution on a remote server.
The Terraform configuration for Azure is, therefore, defined by the configuration of the provider that uses the information from an Azure SP.
Once this configuration is complete, we can start writing Terraform code to manage and provision Azure resources.
- Microsoft Dynamics 365 Business Central Cookbook
- 常用運動損傷理療技術(shù)操作手冊
- 超聲醫(yī)學(xué)專科能力建設(shè)專用初級教材:介入分冊
- 淋巴瘤診療66問
- 流行病學(xué)(第2版)
- 康復(fù)醫(yī)學(xué)(第2版)
- 五官科疾病中西醫(yī)結(jié)合護理
- 不可逆電穿孔消融技術(shù)的應(yīng)用原理與實踐
- 全瓷修復(fù)技術(shù)(第2版)
- 骨骼肌靜力性負(fù)荷所致?lián)p傷機理的研究
- Learning Geospatial Analysis with Python
- 故作正常
- 口腔微生物學(xué)實驗指導(dǎo)
- 骨盆解剖及功能訓(xùn)練圖解
- 實用人體體表解剖全真圖解