UnkeyPulumiAWSExecutor as we deprecate Pulumi. The trust policies are already created in this repo, so this is mostly just running commands.
Prerequisites
Grab theBasic ~/.aws/config for AdministratorAccess from 1password.
Creating the role in each account
The trust policy files are already in this directory (github-actions-deploy-role-{sandbox,canary,production001}-trust-policy.json). They allow the GitHubActionsOIDCRole from the management account and the AdministratorAccess SSO role to assume this role.
Create the role in each account…
Update the management account
TheGitHubActionsOIDCRole needs permission to assume the new role. Create a new cross-account policy for it…
EKS access
For kubectl to work, the role needs an EKS access entry. Do this for each cluster you want to deploy to (sorry about the names lol) Forbeautiful-dance-crab in eu-central-1…
adorable-jazz-gopher in us-east-1…
--cluster-name and --region.
