10 months ago
I am in the process of re-creating all of my Railway infrastructure in Terraform. The way I want my services deployed is deploying service A to 2 different environments with slightly different config such as different branch for source repo.
For example, in my production environment, I would deploy the service with the production branch and then PR into that branch when a new production version is available.
Similarly, for development environment, I would deploy the service with development branch and then make changes to that branch.
However, it seems that when I deploy a service, it syncs/mirrors across all environments as it seems to deploy at the project level.
So if I deploy service A and I pass in source_branch = "development", it deploys service A on the development branch to both development and production environments within Railway
Is there any scope for the service deployment to have an environment field so I can define a specific environment to deploy my service to?
1 Replies
10 months ago
Hello,
We do not provide or maintain the Terraform provider; it is an unofficial provider. Thus, any questions about it or its implementation would need to be directed to its maintainer. -
https://github.com/terraform-community-providers/terraform-provider-railway
Best,
Brody
Status changed to Awaiting User Response Railway • 10 months ago
Status changed to Solved hazzo01 • 10 months ago
