Environment Variables LOAD IN THE UI?
b1tburn3r20
FREEOP

6 months ago

I am trying to launch my nextjs15 app with prisma and google cloud sql

however after setting the environment variables using the variables even assigning all of them as shared variables to my project the build fails because those variables dont exist.

IN my variables tab it shows 7 variables, in the deployment it shows 0

Solved$10 Bounty

2 Replies

testuser123
PRO

6 months ago

You have to double-check that you’ve assigned them to the correct service (not just as “shared” variables). Shared variables only work if the service is set to inherit them (sometimes you need to add them directly to the service). Try redeploying after making sure the variables are attached to the right place. If it still doesn’t work, remove and re-add the variables, then redeploy.


Also, make sure that you're pressing Redeploy and not just Restart.


Status changed to Solved chandrika 6 months ago


Loading...