Terraform Installation
• yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo
• yum -y install terraform
• terraform version
• terram -help
• terraform -help plan
Create AWS user for the terraform setup
Create a user in AWS:
1) Login into Aws console
2) Navigate into IAM
3) Click on create user button
4) Set a permission of new user
5) Click on created user and we can able to see the option for create a key for that specific user.
6) It will prompt the use case of your requirement.
7) Choose the Command Line Interface option
8) Take a note of Access Key and secret access key. We need to define these parameter inside of Terraform while automate the infrastructure.
No comments:
Post a Comment