hi there, how do I access api on remote cluster? I...
# prisma-whats-new
s
hi there, how do I access api on remote cluster? I've just deployed to eu1.prisma.sh but cannot figure out the endpoint
n
prisma info
🙂
s
oh what a fool 😄
thanks
mmmh I get these results: prisma-eu1 (cluster:
local
) HTTP: http://localhost:4466/uvola-graphql/prisma-eu1 Websocket: ws://localhost:4466/uvola-graphql/prisma-eu1
n
looks like you called your service
prisma-eu1
and deployed it locally 🙂
s
not sure why there's cluster:
local
and why is still pointing to localhost, maybe I did something wrong during deploy
how do I nuke everything and start again?
n
you don't need to nuke anything, just remove the
cluster
property from
prisma.yml
and run
prisma deploy
then choose the right cluster
s
ok
from what I see the cluster is set via an ENV var
so do I have to
export PRISMA_CLUSTER=prisma-eu1
and then
prisma deploy
?
n
no, please read what I wrote above 🙂
s
yes, but I have this in prisma.yml
...
cluster: ${env:PRISMA_CLUSTER}
ah I got it
removed the whole line (thought you were talking about the property)
ok thank you again for your patience, now I can access it
n
cheers!