1bash-3.2$ docker run -i -t --rm hashicorp/terraform:latest 2Usage: terraform [--version] [--help] <command> [args] 3 4The available commands for execution are listed below. 5The most common, useful commands are shown first, followed by 6less common or more advanced commands. If you're just getting 7started with Terraform, stick with the common commands. For the 8other commands, please read the help and docs before usage. 9 10Common commands: 11 apply Builds or changes infrastructure 12 destroy Destroy Terraform-managed infrastructure 13 fmt Rewrites config files to canonical format 14 get Download and install modules for the configuration 15 graph Create a visual graph of Terraform resources 16 import Import existing infrastructure into Terraform 17 init Initializes Terraform configuration from a module 18 output Read an output from a state file 19 plan Generate and show an execution plan 20 push Upload this Terraform module to Atlas to run 21 refresh Update local state file against real resources 22 remote Configure remote state storage 23 show Inspect Terraform state or plan 24 taint Manually mark a resource for recreation 25 untaint Manually unmark a resource as tainted 26 validate Validates the Terraform files 27 version Prints the Terraform version 28 29All other commands: 30 state Advanced state management 31bash-3.2$ docker run -i -t --rm hashicorp/terraform:latest version 32Terraform v0.7.6
Run terraform with Docker CLI
Stella981
2021-10-12
1003 0 0
点赞
收藏
评论区
加载中...