Skip to content

Conversation

@sbkok
Copy link
Collaborator

@sbkok sbkok commented Oct 4, 2022

Why?

When you move an account from the root to an organization unit (OU), an event is emitted that should trigger the Account Bootstrap state machine.

However, the task role that was configured did not have the necessary permissions to invoke the state machine.

What?

A new role is created that will enable the event to trigger the Account Bootstrap state machine.

While investigating the issue, it was also noticed that the original task role had permissions that were no longer required. Those stale permissions are removed too.


By submitting this pull request, I confirm that you can use, modify, copy, and
redistribute this contribution, under the terms of your choice.

**Why?**

When you move an account from the root to an OU, an event is emitted that should
trigger the Account Bootstrap state machine.

However, the task role that was configured did not have the necessary
permissions to invoke the state machine.

**What?**

A new role is created that will enable the event to trigger the Account
Bootstrap state machine.

While investigating the issue, it was also noticed that the original task role
had permissions that were no longer required. Those stale permissions are
removed too.
@sbkok sbkok added the bug Something isn't working label Oct 4, 2022
@sbkok sbkok added this to the v3.2.0 milestone Oct 4, 2022
@sbkok sbkok requested review from StewartW and javydekoning October 4, 2022 18:50
@sbkok sbkok merged commit 9e1c0a2 into awslabs:master Oct 7, 2022
@sbkok sbkok deleted the fix/account-bootstrapping-on-ou-move branch October 7, 2022 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants