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

Lite Version only work by deleting MKVConverterLambda and S3ToKVSLambda #31

Open
BurguerJohn opened this issue May 19, 2020 · 14 comments
Open

Comments

@BurguerJohn
Copy link

By using the lite version, it will give a S3 error. I think this happen because it create the Lambda functions before creating the S3-upload bucket, but i didn't managed to find a way to fix it.

@BurguerJohn
Copy link
Author

After a day of Headache, it seen that S3ToKVSLambda code is not public or deleted, you need to zip yourself and put into a S3, then change the layout with the new path.

@Prasang-Biyani
Copy link

Prasang-Biyani commented May 21, 2020

@BurguerJohn did you make any changes in template_lite.yaml ?

@BurguerJohn
Copy link
Author

@Prasang13 I had to:
1 - zip the files in S3ToKVS and MKVConvert:
2 - put then in a S3 bucket
3 - Launch the Lite stack from Readme (also work with the full stack)
4 - Edit the Layout inside cloud formation with the CodeURI pointing to my zip in those two lambdas

This made the deploy work with both stacks, but full still have some bugs after that. Plus I think that the code in here is different from the ones called by the template, so I suggest perhaps trying to edit all CodeURI to the files inside this GIT.

@Prasang-Biyani
Copy link

Prasang-Biyani commented May 21, 2020

@BurguerJohn , did you have to make changes in WebAppBootstrapperLambda CodeUri? I am getting error over there

@BurguerJohn
Copy link
Author

I don't remember having any error in it. What error are you getting?

@Prasang-Biyani
Copy link

Prasang-Biyani commented May 21, 2020

Regarding CodeURI. By default it is ./dashboard. I don't think this is the proper way. Can you please tell me, what is the correct way?

@BurguerJohn
Copy link
Author

I did using the template found in the readme

This one already reference files found inside S3. I'm not sure the correct way to use the template found inside this git.

@Prasang-Biyani
Copy link

@BurguerJohn I am getting this error

Your access has been denied by S3, please make sure your request credentials have permission to GetObject for brain-power-fidgetology-demo-bootstrap/11cf97b799cc8689b2f0bc0f6e68069b. S3 Error Code: AccessDenied. S3 Error Message: Access Denied (Service: AWSLambdaInternal; Status Code: 403; Error Code: AccessDeniedException; Request ID: a494cb0e-3dde-4aba-8492-e1aa8354c186)

Even though, I have full access of the bucket

@BurguerJohn
Copy link
Author

I had the same confusion, its not your bucket the problem, its this bucket:
brain-power-fidgetology-demo-bootstrap/11cf97b799cc8689b2f0bc0f6e68069b
Here is hosted the zip file from AWSLambdaInternal. You need to zip yourself the S3ToKVSLambda scripts, upload to your bucket and change this link.

@Prasang-Biyani
Copy link

I can't create or see the bucket brain-power-fidgetology-demo-bootstrap

@Prasang-Biyani
Copy link

@BurguerJohn , I solved the above problem. I am facing new issue

Custom Resource failed to stabilize in expected time

Did you encounter this?

@BurguerJohn
Copy link
Author

@Prasang13 Sorry, this error did not occur with me, not sure what can be happening.

@Prasang-Biyani
Copy link

Prasang-Biyani commented May 25, 2020

@BurguerJohn,
image. Stack creation fails at WebAppBootstrapper and ultimately leads to

Custom Resource failed to stabilize in expected time
Can you please help me regarding this?

@ghost
Copy link

ghost commented Oct 5, 2020

I'm also getting

Your access has been denied by S3, please make sure your request credentials have permission to GetObject for brain-power-fidgetology-demo-bootstrap/11cf97b799cc8689b2f0bc0f6e68069b. S3 Error Code: AccessDenied. S3 Error Message: Access Denied (Service: AWSLambdaInternal; Status Code: 403; Error Code: AccessDeniedException; Request ID: a494cb0e-3dde-4aba-8492-e1aa8354c186)

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

No branches or pull requests

2 participants