I use the Terraform remote backend to run plans on Terraform Cloud.
How do I develop locally?
I want to make changes to workspace and module config, then terraform init/plan/apply locally to test out changes, before commiting.
What’s the process to do this?
-
Switch backend:
remotebackend, and switch to alocalbackend? -
Switch to locally checkout module:
source = "app.terraform.io/my-module"tosource = "C:/my-module"
Or is there a better way to test both modules & workspace using Pull Requests?