Skip to content

Conversation

@awood45
Copy link
Contributor

@awood45 awood45 commented Nov 20, 2019

Issue #, if available:

Description of changes:

Checklist:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@awood45 awood45 requested a review from sriram-mv November 20, 2019 20:51
session = boto3.Session(profile_name=profile if profile else None)
cloudformation_client = session.client("cloudformation", config=Config(region_name=region if region else None))
except NoCredentialsError:
raise UserException(
Copy link
Contributor

Choose a reason for hiding this comment

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

we need to change userexception to a more specific exception.

merge after adding unit tests

Copy link
Contributor

@sriram-mv sriram-mv left a comment

Choose a reason for hiding this comment

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

👍

@sriram-mv sriram-mv merged commit b2f2d22 into aws:release-v0.32.0 Nov 20, 2019
sriram-mv pushed a commit that referenced this pull request Nov 23, 2019
* Add Exception Handling for Client Misconfiguration

* Import Botocore Exceptions

* Change Client Exception Heirarchy

Remaining work is to add tests for this case.

* Add Unit Test for Bootstrap Client Failures
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.

2 participants