最近更新时间:2023.04.18 19:06:03
首次发布时间:2023.04.18 19:06:03
进入 Terraform 官网,按照官网引导进行安装。
安装结束后,可通过执行 terraform 命令确认是否安装成功。执行后如显示以下信息,则说明安装成功。
$ terraform Usage: terraform [global options] <subcommand> [args] The available commands for execution are listed below. The primary workflow commands are given first, followed by less common or more advanced commands. Main commands: init Prepare your working directory for other commands validate Check whether the configuration is valid plan Show changes required by the current configuration apply Create or update infrastructure destroy Destroy previously-created infrastructure All other commands: console Try Terraform expressions at an interactive command prompt fmt Reformat your configuration in the standard style force-unlock Release a stuck lock on the current workspace ...