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

Fix handling scalar DependsOn values of S3 buckets #508

Merged
merged 1 commit into from
Jul 15, 2018

Conversation

txase
Copy link
Contributor

@txase txase commented Jul 12, 2018

Issue #, if available: N/A

Description of changes:

DependsOn values can be either scalar strings or lists of strings. This
change fixes handling when an S3 bucket in an input template has a
scalar string value for DependsOn.

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

@txase
Copy link
Contributor Author

txase commented Jul 12, 2018

It looks like tests passed for Python 3.6, but not for Python 2.7. I tested on Python 2.7 locally, and everything passed. I may need help figuring out why the tests failed in CI...

@txase
Copy link
Contributor Author

txase commented Jul 12, 2018

Oh... I thought I was testing on python 2.7 locally, but turns out I wasn't. I'll make sure next time :).

DependsOn values can be either scalar strings or lists of strings. This
change fixes handling when an S3 bucket in an input template has a
scalar string value for DependsOn.
Copy link
Contributor

@sanathkr sanathkr left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for identifying the problem and fixing this! @brettstack need your review :)

Copy link
Contributor

@brettstack brettstack left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for the fix.

@brettstack brettstack changed the base branch from master to develop July 15, 2018 03:06
@brettstack brettstack merged commit f80f843 into aws:develop Jul 15, 2018
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