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
9 months ago
you cannot, deployment IDs are dynamic IDs and thus cannot be shared
I'll have to find another way to go about this other than using the deployment ID. Thank you 🙏
9 months ago
can you share your usecase?
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
9 months ago
why not service id?
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
9 months ago
ah gotcha