728x90
반응형
[Terraform] AWS with Terraform - install terraform (테라폼 설치)
download terraform from the official download page.
unzip the file and move Terraform binary to /usr/bin.
1 | $ sudo mv terraform /usr/bin && sudo chmod +x | cs |
test `terraform` command
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | $ terraform Usage: terraform [-version] [-help] <command> [args] The available commands for execution are listed below. The most common, useful commands are shown first, followed by less common or more advanced commands. If you're just getting started with Terraform, stick with the common commands. For the other commands, please read the help and docs before usage. Common commands: apply Builds or changes infrastructure console Interactive console for Terraform interpolations destroy Destroy Terraform-managed infrastructure env Workspace management fmt Rewrites config files to canonical format get Download and install modules for the configuration graph Create a visual graph of Terraform resources import Import existing infrastructure into Terraform init Initialize a Terraform working directory output Read an output from a state file plan Generate and show an execution plan providers Prints a tree of the providers used in the configuration push Upload this Terraform module to Atlas to run refresh Update local state file against real resources show Inspect Terraform state or plan taint Manually mark a resource for recreation untaint Manually unmark a resource as tainted validate Validates the Terraform files version Prints the Terraform version workspace Workspace management All other commands: debug Debug output management (experimental) force-unlock Manually unlock the terraform state state Advanced state management | cs |
728x90
반응형
'Programming > AWS' 카테고리의 다른 글
[Terraform] AWS with Terraform - ec2 instance (테라폼 ec2 인스턴스 생성) (0) | 2018.12.10 |
---|---|
[Terraform] AWS with Terraform - terraform configuration (테라폼 설정) (0) | 2018.12.10 |
[AWS] aws ec2 describe-instances --filter 이용하여 태그 설정한 instances조회 (0) | 2018.10.06 |
AWS Command Line Interface 설치하기 및 사용하기 (aws cli) on Linux (0) | 2018.10.06 |
AWS waiter 사용 - 특정 인스턴스 상태 대기 (0) | 2018.03.30 |
댓글