1 - Terraform user

Goal: Create an AWS user for Terraform

Steps

  1. Login to your AWS Console and navigate to IAM users‚Äč

  2. Click Add user

  3. Set User name to tutorial and select Access type programmatic access

  4. Click Next: Permissions

  5. In Attach existing policies directly select AmazonEC2ContainerRegistryFullAccess for this tutorial. Please read the notes below.

  6. Click Next: Tags and Next: Review and Create user

  7. Write down the Access key ID and Secret access key

The policyAmazonEC2ContainerRegistryFullAccessis sufficient for this tutorial. For more complex stacks elevated permissions will be required.

Full access is provided by the policyAdministratorAccess