
Argo CD on EKS: Git repo access with AWS CodeConnections and Terraform
Argo CD on EKS: Git repo access with AWS CodeConnections and Terraform Argo CD on EKS Capabilities needs to pull from your Git repos. Instead of storing personal access tokens or SSH keys in the cluster, use AWS CodeConnections : one connection authorizes Argo CD to access GitHub via IAM. This guide gives the minimal Terraform (connection + IAM policy on the Argo CD role) and the one-time Console steps to move the connection from Pending to Available. One connection can serve many repos; you only change the owner/repo in the URL. 1. Overview What this guide does: Creates a CodeStar connection (GitHub) and grants the Argo CD capability role codeconnections:UseConnection and codeconnections:GetConnection so Argo CD can pull from Git without credentials in the cluster Walks through the one-time Console step to complete the connection (Pending → Available), including using the GitHub App (e.g. AWS Connector for GitHub) for org repos Shows the CodeConnections repo URL format for Argo CD App
Continue reading on Dev.to
Opens in a new tab


