官术网_书友最值得收藏!

  • Learning DevOps
  • Mikael Krief
  • 146字
  • 2021-06-24 12:32:06

Initialization

The initialization step allows Terraform to do the following:

  • Initialize the Terraform context to check and make the connection between the Terraform provider and remote service—in our case, with Azure.
  • Download the plugin(s) of the provider(s)—in our case, it will be the azurerm provider.
  • Check the code variables.

To execute the initialization, run the init command:

terraform init

The following is a screenshot of terraform init:

As can be seen during its execution of the preceding command, Terraform does the following:

  • It downloads the latest version of the azurerm plugin.
  • It creates a working .terraform directory.

The following is a screenshot of the .terraform directory:

For more information about the init command line, see the documentation: https://www.terraform.io/docs/commands/init.html.

Once the initialization step is done, we can proceed to the next step, which is previewing the changes.

主站蜘蛛池模板: 远安县| 重庆市| 原阳县| 双牌县| 云霄县| 密山市| 彩票| 梧州市| 太仓市| 屏东市| 响水县| 沁阳市| 肥乡县| 宜春市| 连城县| 石首市| 松滋市| 安福县| 商洛市| 泌阳县| 昌图县| 五台县| 资阳市| 依兰县| 大渡口区| 永嘉县| 南漳县| 平南县| 阿图什市| 泗阳县| 炎陵县| 临清市| 神农架林区| 兰西县| 聊城市| 西丰县| 佛学| 景泰县| 大余县| 嘉义县| 荣成市|