Terraform: Difference between revisions
Content added Content deleted
m (Protected "Terraform" ([Edit=Allow only logged in users] (indefinite) [Move=Allow only logged in users] (indefinite) [Delete=Allow only logged in users] (indefinite))) |
|||
Line 22: | Line 22: | ||
= Provision AWS EC2 Cloud Instance = |
= Provision AWS EC2 Cloud Instance = |
||
Source: [https://linoxide.com/devops/install-terraform-provision-aws-ec2-instance/ linoxide.com] |
|||
Create EC2 user under: |
|||
IAM > Users > Add User |
|||
click only "Programmatic access". |
|||
Create Group: filter by keyword AmazonEC2, Select AmazonEC2FullAccess. |
|||
Download .csv file |
|||
<br /> |
<br /> |
Revision as of 11:53, 5 October 2018
Installation
Install unzip
sudo apt-get install unzip
Download latest version of the terraform
wget https://releases.hashicorp.com/terraform/0.11.8/terraform_0.11.8_linux_amd64.zip
Extract the downloaded file archive
unzip terraform_0.11.8_linux_amd64.zip
Move the executable into a directory searched for executables
sudo mv terraform /usr/local/bin/
Run it
terraform --version
Provision AWS EC2 Cloud Instance
Source: linoxide.com
Create EC2 user under:
IAM > Users > Add User click only "Programmatic access". Create Group: filter by keyword AmazonEC2, Select AmazonEC2FullAccess. Download .csv file
- References
{{#widget:DISQUS
|id=networkm
|uniqid=Terraform
|url=https://aman.awiki.org/wiki/Terraform
}}