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 s3 examples #632

Merged
merged 1 commit into from
Oct 26, 2018
Merged

Fix s3 examples #632

merged 1 commit into from
Oct 26, 2018

Conversation

tryantwit
Copy link
Contributor

Issue #, if available:
#618
Description of changes:
Modified examples to create and grant read access to S3 Buckets created, these examples now can work out of the box. Needed to use !Sub and Prefix to get around circular dependency issues.

Based solution on method described here

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

s3 Buckets and lambdas were being generated but lambda didn't have
permissions for s3 buckets. Started using prefix and Sub to
intrinsically tie them together to circumvent circular dependency
issues.
@tryantwit tryantwit changed the base branch from master to develop October 22, 2018 17:55
Copy link
Contributor

@keetonian keetonian 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 providing a good workaround for the S3 circular dependency issue and fixing these examples!

@brettstack
Copy link
Contributor

Thanks! @keetonian can we merge this direct to master?

@keetonian
Copy link
Contributor

keetonian commented Oct 26, 2018

@brettstack
Edit: no we can't merge straight to master, there are things on develop that would get pulled in. Merging to develop.

@keetonian keetonian changed the base branch from develop to master October 26, 2018 17:56
@keetonian keetonian changed the base branch from master to develop October 26, 2018 17:57
@keetonian keetonian merged commit c61d17e into aws:develop Oct 26, 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.

None yet

3 participants