Hi,
yes no easy answer for sure haha. Currently we have a single aws account for all ressources and for all env. We want to shift to a multi-account design/workflow, and embrace that through IaC (already using Pulumi for that single account but not full coverage on ressources).
We already deployed an AWS Org and several accounts (1 aws account per env + monitoring, security, audit etc), but it's not used yet. We migrated our users to Identity Center in Management Account and hence, they assume a team-role into that 1 single workload account.
Tomorrow I would like to have a dev being able to deploy his dev app to the dev account. And when done deploy to the prod account.
My questions/concerns are : how can I structure my gitlab app repo, my pulumi state, and my CI pipeline in order to deploy smoothly in a multi-account setup ?
We would like to have the devs having the ownership of what they deploy for specific app projects, and the infra team would handle the pulumi code for shared/infra ressources throughout the different accounts.