Skip to content

Conversation

@srabidoux
Copy link
Contributor

Description of changes:

get_organization_map() in organizations.py is modified to include individual account names as well as OUs. This allows account-specific SCPs to be deployed using the same method as OU-level SCPs in ADF.

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

@StewartW StewartW requested a review from sbkok October 27, 2021 14:25
Copy link
Collaborator

@sbkok sbkok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding these changes @srabidoux.

Could you write tests for the functionality you added? And could you also document the functionality in the docs/admin-guide.md?

Copy link
Collaborator

@sbkok sbkok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for making these changes so quickly.
Could you update the documentation to describe how ADF users/admins should use this feature?

@srabidoux
Copy link
Contributor Author

I updated the admin-guide documentation to explain how account-specific SCPs can be applied. Let me know what you think.

Copy link
Collaborator

@sbkok sbkok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding the documentation and following up quickly.
A few minor polishing comments below. Almost ready to get it merged! Good job.

@srabidoux
Copy link
Contributor Author

@sbkok I went ahead and accepted all of your suggestions. Thanks!

Copy link
Collaborator

@sbkok sbkok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you for implementing this!

@sbkok sbkok added this to the v3.2.0 milestone Nov 12, 2021
@sbkok sbkok merged commit 5598044 into awslabs:master Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants