Description
/home/ubuntu/.aws/credentials on the prod server, and aws ecr get-login-password there uses it ahead of the instance's own role (factiii-prod-ssm). The fix isn't to scope and regenerate it: delete the file and let the server use its instance role, which needs no stored key and rotates itself. Before that, give the role ECR pull rights (AmazonEC2ContainerRegistryReadOnly). Then deactivate the old key in IAM.
2. Proposed IAM users (S6). Each key lives in the runner store, and each job gets only the one it needs:factiii-deploy: ECR push and pull, and the reads deploy jobs need.No activity yet.