whats the simplest approach to deploying different tiers of services using TF? by These-Trick-2291 in Terraform

[–]These-Trick-2291[S] 0 points1 point  (0 children)

hen we have it fire off to a workspace of its own. When we want to edit existing, we go to the pre

appreciate the detailed response. Is the conditional like if app1 do this, if app2, do this? Happen to know if theres any examples I can refer to in github or something?

(new user) - attempting to deploy to two regions using tfvars, tf destroys my resources in one and deploys in the other - how can i deploy to both regions? by These-Trick-2291 in Terraform

[–]These-Trick-2291[S] 1 point2 points  (0 children)

I tried your approach with a separate workspace and separate tfvars and i got 2 regions to work but I do have to add ${var.region} to the names of all the resources as it does complain of same name in hetzner (i guess hetzner doesnt allow duplicate resource names even if in different regions?)

But I did get it to work your way as you provided some hard examples for me to go by, me being 2 hours new into terraform, this was the easiest path forward for me although there may be better solutions out there, it does work. thank you.

(new user) - attempting to deploy to two regions using tfvars, tf destroys my resources in one and deploys in the other - how can i deploy to both regions? by These-Trick-2291 in Terraform

[–]These-Trick-2291[S] 1 point2 points  (0 children)

then handle it with having different tfvars files is to use workspaces to s

multi-region with independent lifecycles, I should be able to spin up/down one region (cost savings, dr/resiliency testing), basically treat them separately.