4.2 Create CI IAM user

Create an IAM user for GitHub Actions

Go to IAM -> Users -> Create user:

  1. User name: github-actions.

  2. Attach policies directly, attach two policies:

    PolicyPurpose
    AmazonEC2ContainerRegistryFullAccessPush/pull images to ECR
    AmazonEKSClusterPolicyEKS access to the registry
  3. Create user -> Security credentials -> Create access key -> CLI -> Download .csv.

Never commit the access key to Git. Store it only in GitHub Secrets. Deactivate/delete this key when the workshop is over.