eas-cli/0.35.0
Hi,
I was trying to build my application using EAS and Hermes, but upon running the build, I am getting,
"Error: Unable to resolve module ./src/aws-exports from /build/workingdir/build/App.js: "
FYI, aws-exports holds all the credentials for the aws amplify configured in the app.
What Should i do in order to resolve this issue?
you probably don’t commit aws-exports to git
Yes, but i need to include the aws credentials in the App build, right? How am I going to handle that?
Also, If I remove aws-exports from git.ignore then can there be any security issues as this file contains all sensitive credentials.
either add it to git or use secrets Environment variables and secrets - Expo Documentation - or however else you would prefer to do this on another ci service.
wodin
November 12, 2021, 3:34pm
5
I’ve never used AWS Amplify, so don’t necessarily take my word for this but I think the following might answer your question:
https://github.com/aws-amplify/amplify-js/issues/2495#issuecomment-453282477
But I think it would still be better to use secrets
as suggested by @notbrent .
system
Closed
December 2, 2021, 3:35pm
6
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.