title: Terraform different backend for each project
body: <p>I'm a bit of a newbie with Terraform and still working my way through the documentation, have not yet been able to find a way to accomodate the set up I need to achieve for a specific solution and hoping that some kind soul may be able to give me a push in the right direction.</p>
  <p>I'm trying to manage a single set of paramaterised templates which deploy everything needed to support a new application we are working on in GCP. What I am trying to achieve is being able to deploy those templates to three different environments, each environment being in a distinct GCP project, by itself.</p>
  <p>The plan is, as per recommendations, run terraform and pass in</p>
  <p>a) The specific .tfvars file depending on the environment/project being deployed to (dev/test/prod).</p>
  <p>b) Use the -chdir parameter to tell Terraform to pick up all the templates from 'infra-common' folder.</p>
  <p>The tricky part is that we want each environment (gcp project) to host it's own state file in gcs/storage.</p>
  <p>I had been looking at workspaces but it appears that workspaces will just create state subfolders on a single backend.</p>
  <p>Question: Can this be done or is there a better way to do it?</p>
  <p>Thanks!</p>