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

Regarding S3 permission #1

Open
saravana87 opened this issue Apr 12, 2023 · 2 comments
Open

Regarding S3 permission #1

saravana87 opened this issue Apr 12, 2023 · 2 comments

Comments

@saravana87
Copy link

Thanks for the repo.
I followed the Helium Oracle Observer Lambda
I created the S3 buckets, notifications.
Also compiled and created lambda.zip in the arm64 machine
I configured the database_url and its connected successfully.
I copied the radio share file from
foundation-poc-data-requester-pays/foundation-mobile-verified/radio_reward_share.1680746455400.gz
and copied it to
/mybucketname/radio_reward_share...

I think its triggering the lambda function but the rows are not updated in the PostgreSQL database
Should I add any permissions in S3 bucker or Lambda roles.

Can you please help me with this.

Sample cloud watch logs

image

@saravana87
Copy link
Author

I have configured my S3 bucket as public
also, created policy to let access the bucket by anyone. But still the data is not saving in the Postgres database
Please let me know what I am missing

@luoluoter
Copy link

Maybe some errors happened.
You can edit code and build you version to upload.

debug like this:
image

for now, not working for me , and i am debug too.

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