- 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.
- 同仁眼超聲診斷手冊
- 醫(yī)學(xué)統(tǒng)計(jì)學(xué)實(shí)戰(zhàn)指導(dǎo)
- 春季奇招抗過敏
- 顧嘉雄 張良圣醫(yī)案精華
- 眼科標(biāo)準(zhǔn)數(shù)據(jù)集(2019版)
- 世界衛(wèi)生組織成人和青少年癌痛藥物治療和放射治療管理指南
- 臨床神經(jīng)認(rèn)知及社會功能評估手冊
- Bioinformatics with R Cookbook
- 實(shí)用胃腸病臨床手冊
- 何以為人:試管嬰兒技術(shù)的起源與發(fā)展
- 圖說超廣角熒光素眼底血管造影
- 臍帶間充質(zhì)干細(xì)胞轉(zhuǎn)化醫(yī)學(xué)
- Activiti 5.x Business Process Management Beginner's Guide
- 走進(jìn)孤獨(dú)的世界:為家長專業(yè)解讀自閉癥
- 趙洪鈞醫(yī)學(xué)真?zhèn)?/a>