Theory:

Screenshot (1433).png

Screenshot (1434).png

Screenshot (1435).png

Screenshot (1436).png

Screenshot (1437).png

Screenshot (1438).png

Screenshot (1439).png


LAB:

> Go to Git-Bash & run the below commands:

Now connect your AWS cloud account with Terraform remotely by the following steps:

Go to your AWS Dashboard → Search for “IAM” → click on “Users” on the Right Dashboard → click on “Add users” → Name it as “terraformuser” → tick on “Programmatic access” → click on “Next Permissions” → select the “Attach existing policies directly” option → select the “AdministratorAccess” → click on “Next” → click on “Next” → click on “Create user” → Finally you can See or Download the ‘Access Key’ & ‘Secret Key’

> Go back to Git-Bash Terminal