Referencing another service variable when the service has special characters
gio
PROOP

2 years ago

If I have a service names "My Backend 2" or "My - Backend - 2", how would I reference this service's vars from another? For example, I tried:

${{ MyBackend.REDIS_PASSWORD }}

For now, I just renamed the service

Solved

1 Replies

2 years ago

This should work -

${{ "My - Backend - 2".REDIS_PASSWORD }}


Status changed to Awaiting User Response Railway over 1 year ago


Railway
BOT

a year 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 11 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...