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:Jump to 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
9 Replies
Project ID:
N/A
N/A
that would be a limitation of the terraform provider that they wrote, you would want to get in contact with it's maintainer instead
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
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
thank you very much !
happy to help where I can
(you can solve don't know how to do it 😀)
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.