Nextjs - GCP Secret Manager
Unanswered
Swedish Elkhound posted this in #help-forum
Swedish ElkhoundOP
I am trying to deply my nextjs app on GCP and integrate the gcp secret manager to load the env variables in .env file using an script but nextjs is not taking it and when i tried exporting it using nextconfig the prisma is not taking the db url!
Any solution to this anyone ??
Any solution to this anyone ??
3 Replies
@Swedish Elkhound I am trying to deply my nextjs app on GCP and integrate the gcp secret manager to load the env variables in .env file using an script but nextjs is not taking it and when i tried exporting it using nextconfig the prisma is not taking the db url!
Any solution to this anyone ??
Rose-breasted Grosbeak
did you check if this issue is strictly happening in next js?
Swedish ElkhoundOP
I need to change the env in runtime, like i do in nodejs project of mine
But when i do that in nextjs it doesnt takes the latest ones !