For system, network and cloud administrators

How to log in AWS using Terraform

Terraform is a wonderful IaaC software. We can login into AWS in a couple of ways:

  • by declaring our AWS credentials (key, secret) inside one of the .tf files (main.tf, for example);
  • by declaring our AWS credentials using the Terraform CLI.