Latest

Part 3: AWS User for Terraform

AWS User for Terraform

The next step is to create an AWS user that Terraform can utilize. We're going to set up a user account with administrator rights. It is not suggested to use this for a production setup. 

Terraform allows you to build, change, and version infrastructure in a safe and efficient manner. It creates your infrastructure from code that you have defined. Components like compute instances, storage, and networking, as well as high-level features like DNS entries and SaaS, are included.

Fig 1.1- Terraform

AWS User Account for Terraform

  • You may access the IAM area by logging into your AWS account, searching for IAM in the search bar on the main AWS website, and then clicking the link.
  • Select Users from the left hand menu
  • Select Add User at the top
  • Type in any username you like
  • For access type select Programmatic access only
  • Click Next
  • On the set permissions screen select 
Attach existing policies directly

  • Tick Administrator Access which should be the top of the list
  • Click Next
  • Click Next again, now you should see a summary of the user you are about to create
  • Click the Create User button and the user should be created
  • Store the Access Key Id and Secret Access Key somewhere safe as this is the only time you will see them