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

[Deploying the Foundations] sdlf-foundations-rS3Stack FAILS to create. #137

Closed
Druizm128 opened this issue May 8, 2023 · 1 comment
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Druizm128
Copy link

Describe the bug
Team, I have tried Deploying SDLF section. There is a problem with the CloudFormation stack sdlf-foundations-rS3Stack. It says Embedded stack arn:aws:cloudformation:us-east-1:************:stack/sdlf-foundations-rS3Stack-1HIU1XN1M2Z6C/558b2930-edcf-11ed-9eb9-0e8bcc37f821 was not successfully created: The following resource(s) failed to create: [rStageBucketLakeFormationS3Registration, rAnalyticsBucketLakeFormationS3Registration, rRawBucketLakeFormationS3Registration, rDataQualityBucketLakeFormationS3Registration]. The only thing I have done is to follow the instructions in Deploying the Foundations. I have not changed the parameters.

To Reproduce
Steps to reproduce the behavior:

  1. I follow the instructions in Deploying the Foundations..

Expected behavior
I should be able to deploy it successfully.

Screenshots
If applicable, add screenshots to help explain your problem.

Screenshot 2023-05-08 at 13 02 05

Screenshot 2023-05-08 at 13 03 08

Screenshot 2023-05-08 at 13 03 54

Screenshot 2023-05-08 at 13 06 21

SDLF release (if known):
Not sure, I deployed this on May 8th, 2023.

Additional context
I tried deploying in different accounts, and got the same result. In summary this bug has left the first part of the workshop useless. Let me know if I can be of more help.

@Druizm128 Druizm128 added the bug Something isn't working label May 8, 2023
@cnfait cnfait assigned cnfait and unassigned jaidisido May 9, 2023
cnfait added a commit that referenced this issue May 9, 2023
by default a service role is created automatically when registering a bucket for the first time

but that doesn't quite work for us

fixes #137
@cnfait cnfait added this to the 1.5.1 milestone May 9, 2023
@cnfait cnfait moved this to 👀 In review in SDLF Roadmap May 9, 2023
@cnfait
Copy link
Contributor

cnfait commented May 9, 2023

Thanks for raising this issue. This is due to a missing service role for Lake Formation data access, required when registering buckets in Lake Formation. The temporary fix is to manually register any bucket using the AWS console, to trigger the role creation, then rerun the workshop.

I've opened a PR with a better fix: #138

Once it is merged in main, the issue should be gone.

@cnfait cnfait closed this as completed in a7696eb May 9, 2023
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in SDLF Roadmap May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

3 participants