-
Notifications
You must be signed in to change notification settings - Fork 0
HMT-112-profile-picture-storage #191
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://docs.amplify.aws/react/build-a-backend/storage/set-up-storage/
Take a look here in this documentation
@burtonjong Please Give Me s3 Bucket Access. Thank you 😊 |
@fisayoadabs I gave you s3 access so you can test it - I also want to test it during the meeting tn if youll be joining so you can walk me through your code and what you did since this is a pretty big PR |
… do not have permissions to upload
… of the user as a folder. I still NEED IAM Roles access.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple comments
next.config.js
Outdated
domains: ["images.ctfassets.net"], | ||
domains: [ | ||
"images.ctfassets.net", | ||
"amplify-hackathonmanageme-profileimagestoragebucke-qigdi1utj018.s3.ca-central-1.amazonaws.com", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have to make this global, because this bucket is specific to you only
https://nextjs.org/docs/messages/next-image-unconfigured-host
you might have to upgrade next version to latest, which should be fine
… was the only method i could think of)
Got the image to be within the form and to display in the profile header. I would say we should transition to s3 bucket but I do not know how much storage we are allowed to have.

I also realized that this might also be part of 113 as well so you tell me if it is.