Sharing Deployment ID between projects
pfrex
PROOP

a year ago

As the title says I'm trying to find a way to share the deployment id of a specific project with two other projects in the same environment. Is there a way to do this?

I been looking at shared variables but I wasn't able to find a way to make it work.

7 Replies

a year ago

you cannot, deployment IDs are dynamic IDs and thus cannot be shared


pfrex
PROOP

a year ago

I'll have to find another way to go about this other than using the deployment ID. Thank you 🙏


a year ago

can you share your usecase?


pfrex
PROOP

a year ago

I'm using ponder.sh and for each deploy a new schema is created ( documentation reference ). They advise to use deployment id on railway.

I need two other services that will consume for this schema in the DB to know the schema name in order to do the correct scripts


a year ago

why not service id?


pfrex
PROOP

a year ago

Because service ID is static and ponder needs a new id on every deploy. I would rather not delete the old schema right away when doing a new deploy


a year ago

ah gotcha


Welcome!

Sign in to your Railway account to join the conversation.

Loading...