Sharing Deployment ID between projects
pfrex
PROOP

10 months 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

10 months ago

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


pfrex
PROOP

10 months ago

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


10 months ago

can you share your usecase?


pfrex
PROOP

10 months 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


10 months ago

why not service id?


pfrex
PROOP

10 months 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


10 months ago

ah gotcha


Loading...