Moving an AWS account can now change what DevOps Agent can see
AWS added organization-wide account connections to DevOps Agent. A change to an account’s place in the organization can now change the agent’s access.
TL;DR
- Teams can connect an entire organizational unit to an Agent Space. Accounts that later join that unit automatically come into scope.
- Before moving a production account, check which Agent Spaces cover its destination. AWS uses CloudFormation StackSets to maintain a role in covered accounts.
A platform team that keeps development and production accounts in separate folders has a new reason to review moves between them. AWS’s November 20 DevOps Agent update describes a way to connect an Agent Space, the workspace used for investigations, to a whole organizational unit. Previously, teams had to connect accounts individually.
What happens when an account moves
When an association covers a whole unit, AWS sets up an access role in accounts that join it. When an account leaves that unit, the agent stops using the association for that account and removes its role. Teams can also associate the organization root, which makes the initial scope decision especially important.
For example, a team might finish testing a workload in an account outside the agent’s scope and then move the account into a covered production unit. That routine move can bring the workload within reach of investigations even though nobody submitted a separate request to connect it.
A check to add to the move ticket
Record the source and destination units, the Agent Spaces associated with them and who approved the resulting access. After the move, have the account owner verify deployment status and the role in the account. Teams introducing the feature can rehearse that check with a non-production account first.
AWS requires trusted access for DevOps Agent and CloudFormation StackSets. Its guide excludes the China and US GovCloud regions from organization mode. DevOps Agent itself arriving in GovCloud US-West is a separate announcement.