DEV Community

Discussion on: Lambda Function GraphQL Resolvers

Collapse
 
boricic profile image
Milan Boricic • Edited

This is awesome. There is still one part that I haven't been able to figure out.

How does STORAGE_CURRENCYTABLE_NAME environment variable get created? I've looked at the Github repo, but couldn't find a place where it is defined. I can just see that it is accessed within Lambda code.

I assume it was created through Amplify Console, right?

Collapse
 
karldanninger profile image
Karl Danninger 🚀

I think I found it here: console.aws.amazon.com/lambda/home there's a section halfway down for environment variables that you can add. Nader must've made a custom one in the console.