1.Create AWS Free tier account or use your existing account.
2. To use Terraform in AWS environment first needs to be setup in user account . We have to generate accesskey and secretkey in IAM AWS.
3.Open IAM service and select user
4.Creating console access is optional , but programmatic access is mandatory
5.Create group and provide administrator access . We can customize the access role/policy.
6.Add user to the new group
7.Now you can download the access key secret key and save it , to use with terraform.