linux_wiki:terraform

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux_wiki:terraform [2018/06/14 08:55]
billdozor [Terraform]
linux_wiki:terraform [2019/05/25 23:50]
Line 1: Line 1:
-====== Terraform ====== 
- 
-**General Information** 
- 
-"Terraform enables you to safely and predictably create, change, and improve infrastructure. It is an open source tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned." 
- 
-Site 
-  * Official Site: https://www.terraform.io/ 
-  * Downloads: https://www.terraform.io/downloads.html 
-  * Getting started: https://www.terraform.io/intro/getting-started/install.html 
- 
-**Checklist** 
-  * AWS Account 
- 
----- 
- 
-====== Install Terraform ====== 
- 
-Installing Terraform on Linux. 
- 
-  * Visit downloads page: https://www.terraform.io/downloads.html 
-  * Copy download link 
-  * On Linux server, wget the link to download (example link)<code bash>wget https://releases.hashicorp.com/terraform/0.11.7/terraform_0.11.7_linux_amd64.zip</code> 
-  * Unzip single binary, move into /usr/local/bin<code bash>unzip terraform_0.11.7_linux_amd64.zip 
- 
-mv terraform /usr/local/bin/</code> 
-  * Verify<code bash>terraform --version</code> 
- 
----- 
- 
-====== Configure AWS Credentials for Use ====== 
- 
-  * Login to your AWS account, create access keys for CLI use and download the file. 
-  * Create an AWS credentials file in your home directory<code bash>vim ~/.aws/credentials 
- 
-# AWS Credentials 
-[default] 
-aws_access_key_id = "access-key-id-here" 
-aws_secret_access_key = "secret-key-here"</code> 
-    * The profile name is "default" and can now be referenced in the terraform config files. 
- 
-  * Lock down permissions<code bash>chmod 600 ~/.aws/credentials</code> 
- 
- 
-====== Terraform Example: 2 Tier VPC ====== 
- 
-Creating a 2-tier VPC (public and private subnets), utilizing 3 availability zones in US-West (Oregon). 
- 
----- 
  
  • linux_wiki/terraform.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)