Skip to content
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

ignore assume_role errors #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

via-jordan-sokolic
Copy link

Wrap assume_role in try/except and continue if ClientError is encountered. This allows for automatic onboarding of all org accounts in one run, skipping accounts for which target role doesn't yet exist.

@via-jordan-sokolic via-jordan-sokolic changed the title Feature/aws onboarding ignore assume role error ignore assume_role errors Jan 1, 2020
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.

1 participant