2 years ago
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 !
1 Replies
2 years 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
Ok thank you but you confirm that it is theorically possible as railway provide a way to achieve that right ?
2 years 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
2 years ago
happy to help where I can
a year ago
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.