R
Railway•8mo ago
ELY

terraform and environment service

Hello 👋 There is something I don’t undersant with the terraform community plugin for railway. Why actually can’t we create service in specific environment linked by an environment id as is it possible for variables ? Than you !
Solution:
if you can do it via the dashboard, you can do it via railways api, if you can't do it via terraform than that means the maintainer just hasn't implemented it
Jump to solution
9 Replies
Percy
Percy•8mo ago
Project ID: N/A
ELY
ELY•8mo ago
N/A
Brody
Brody•8mo ago
that would be a limitation of the terraform provider that they wrote, you would want to get in contact with it's maintainer instead
ELY
ELY•8mo ago
Ok thank you but you confirm that it is theorically possible as railway provide a way to achieve that right ? I will definitely look at that
Solution
Brody
Brody•8mo ago
if you can do it via the dashboard, you can do it via railways api, if you can't do it via terraform than that means the maintainer just hasn't implemented it
ELY
ELY•8mo ago
thank you very much !
Brody
Brody•8mo ago
happy to help where I can
ELY
ELY•8mo ago
(you can solve don't know how to do it 😀)
Duchess
Duchess•4mo ago
New reply sent from Help Station thread:
Recommended way of organizing things in Terraform is to have one Terraform workspace for each environment but with the same configuration. This means, you end up creating a project for each environment.Therefore, I haven't added support for creating services in non-main environments of the project. Feel free to contribute if someone needs it.
You're seeing this because this thread has been automatically linked to the Help Station thread.
Want results from more Discord servers?
Add your server