-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring Account management to use a step function #394
Conversation
bd999ae
to
07ddd38
Compare
81466a3
to
5192ae7
Compare
Linting, tests and reducing IAM role scope Enabling tracing Refactoring some more
80ee274
to
a9696e9
Compare
a9696e9
to
1c7f6d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, impressive refactoring, thank you!
I have left some comments on the changes made.
Feel free to ping me if I can help out / explain any of these.
src/lambda_codebase/account_processing/process_account_files.py
Outdated
Show resolved
Hide resolved
src/lambda_codebase/account_processing/process_account_files.py
Outdated
Show resolved
Hide resolved
src/lambda_codebase/account_processing/register_account_for_support.py
Outdated
Show resolved
Hide resolved
src/lambda_codebase/account_processing/register_account_for_support.py
Outdated
Show resolved
Hide resolved
…into refactor/account-processing
Co-authored-by: Simon Kok <[email protected]>
…-deployment-framework into refactor/account-processing
…pport.py Co-authored-by: Simon Kok <[email protected]>
Co-authored-by: Simon Kok <[email protected]>
7362272
to
05132e6
Compare
…-deployment-framework into refactor/account-processing
05132e6
to
f924ce0
Compare
src/lambda_codebase/account_processing/configure_account_tags.py
Outdated
Show resolved
Hide resolved
src/lambda_codebase/account_processing/tests/test_account_file_processing.py
Show resolved
Hide resolved
src/lambda_codebase/account_processing/tests/test_account_file_processing.py
Show resolved
Hide resolved
…into refactor/account-processing
Co-authored-by: Simon Kok <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for refactoring this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Issue #, if available:
Description of changes:
Removed main.py from the provisioner dir and the buildspec.
Now account files are synced to a new bucket, which is farmed out to a step function per account.
Step function then decided if it needs to create the account / enable enterprise support . Then will Update OU, Tags and alias as necessary before getting all available regions and deleting the default vpc in those regions if configured.
Roughly looks like this:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.