prisma.yml defines endpoint as `endpoint: ${env:PR...
# orm-help
z
prisma.yml defines endpoint as
endpoint: ${env:PRISMA_ENDPOINT}:${env:PRISMA_PORT}/${env:PRISMA_SERVICE}/${env:PRISMA_STAGE}
which doesn't work in dev environment where Prisma cloud endpoint is
<https://eu1.prisma.sh/jane-doe/myservice/dev>
?
a
why isn't it working? are you referring to the
${env:PRISMA_PORT}
part?
z
yes the port and also there is an extra suffix in the url
jane-doe
a
I haven't tried this but I would assume that you oculd just use 443 (ssl port) for the port part and extend the base endpoint with that prefix
z
port number works yes
hmm I could define PRISMA_SERVICE as
suffix/service-name
a
also alternative suggestion remove port, service, and stage just use PRISMA_ENDPOINT
and replace the whole string each time
z
good point!