Terraform Cloud - development workflow for changing modules and workspaces

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: remote backend, and switch to a local backend?

  • Switch to locally checkout module: source = "app.terraform.io/my-module" to source = "C:/my-module"

Or is there a better way to test both modules & workspace using Pull Requests?