terraform and environment service
Anonymous
TRIALOP

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 !

9 Replies

Anonymous
TRIALOP

2 years ago

N/A


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


Anonymous
TRIALOP

2 years ago

Ok thank you but you confirm that it is theorically possible as railway provide a way to achieve that right ?


Anonymous
TRIALOP

2 years ago

I will definitely look at that


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


Anonymous
TRIALOP

2 years ago

thank you very much !


2 years ago

happy to help where I can


Anonymous
TRIALOP

2 years ago

(you can solve don't know how to do it 😀)


pksunkara2
PRO

2 years 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.


Loading...