I’m trying to make use of AWS S3 for image storage.
I looked at the O-Fish example:
- Created an AWS account
- Created an ‘IAm’ user
- Followed the guide when creating a DataLake (setting up a role though AWS Shell)
- Create a ‘Third party service’ of type AWS
When i invoke the function through console- or when saving my object from a client -it cannot find the region from context.
I made a logstatement that prints out the context and it’s empty - no region.
A thing worth mentioning is that i did not use AWS Cli because i for some reason cannot run it on my computer - instead i used the AWS Shell from web to sign the iAm user.
How do i test if the service i set up can actually connect to my S3 bucket?
This is the code i use to connect to the S3 (code from O-Fish project)