Sharing Deployment ID between projects
pfrex
PROOP

9 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

brody
EMPLOYEE

9 months ago

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


pfrex
PROOP

9 months ago

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


brody
EMPLOYEE

9 months ago

can you share your usecase?


pfrex
PROOP

9 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


brody
EMPLOYEE

9 months ago

why not service id?


pfrex
PROOP

9 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


brody
EMPLOYEE

9 months ago

ah gotcha


Loading...