title: When a gcp project is deleted, what happens to the associated objects in terraform state file
body: <p>Need help in understanding the terraform state file behavior.</p>
  <p>I am working on a gcp project. We have multiple objects like gke cluster,redis etc., associated with the project. And all of these associated objects have their own terraform state files. We have manually deleted the gcp project. What will happen to the associated objects? Will they be deleted as well?</p>
  <ol>
  <li><p>If the associated objects(gke cluster, redis etc.,) also gets deleted along with the gcp project, then how can I update all these manually deleted resources in terraform state file?</p>
  </li>
  <li><p>If the associated objects are not deleted, then how can I delete the resources using terraform config files without the gcp projectId??</p>
  </li>
  <li><p>If I create the same gcp project again in future, will it throw any error saying the projectId is already present since I deleted it manually?? or will it just recreate it??</p>
  </li>
  <li><p>Finally, since we have deleted the gcp project manually, if I just ignore updating the state files of the associated objects, will terraform allow me to create the same gcp project and associated objects again?</p>
  </li>
  </ol>