Shared variables are not being injected into services
smcelhinney
PROOP

7 months ago

I've tried to self solve this issue, but to no avail.

Project ID: 6c75ac5a-7018-424b-a4c0-f71d8bc61e3d

EnvironmentId=ed563a06-ae0d-4b30-92d3-81aea6a6f522

My deployments are failing because I need to inject shared variables into the service. I've followed the guide for creating them, and as you can see from the screenshot, they are linked. However, they are NOT being output to the container (confirmed by console.log process.env )

Can I get some help with this please? I don't think I've done anything incorrectly.

Attachments

Solved

3 Replies

Railway
BOT

7 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


smcelhinney
PROOP

7 months ago

~Actually, just hold on this, I think this might be my stupidity. I may have created circular references in my env vars~

Nope, scratch that, it wasn't that issue, I still need help


Without going into it too much, I do think there is a known issue where there is a shared variable with the same title as a variable reference within a service. Just to be clear, that's not the case at all.

Also, can you let me know which variable is using the shared reference?


Status changed to Awaiting User Response Railway 7 months ago


Railway
BOT

6 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 6 months ago


Loading...