Fix Cloud Accounts created at root level in AWS instead of Organization Unit
requested to merge 23-fix-cloud-accounts-created-at-root-level-in-aws-instead-of-organization-unit into main
New Features
- Add
App\Services\V1\Vendor\Aws\OrganizationAccountService::move()
method for moving an AWS account to a different organization unit - Update
cloud-account:create-status:refresh
background job command withmove
method after AWS account has been created
Fixes
- Fix PSR-12 formatting
Migration Steps
- Existing accounts need to be moved using a loop script with Tinker. See details in https://gitlab.com/gitlab-com/it/infra/issue-tracker/-/issues/617.
Related to #23 (closed)
Edited by Jeff Martin