title: How to resolve the terraform error "timeout while waiting for state to become 'done: true' (last state: 'done: false', timeout: 10m0s)"?
body: <p>I am trying to create a Firestore index using terraform in GCP.
  Below is my Terraform script:</p>
  <pre><code>resource &quot;google_firestore_index&quot; &quot;job_config1_index&quot; {
    project = var.projectId
  
    collection = var.job_config_firestore
    depends_on = [
      &quot;google_firestore_index.job_config4_index&quot;
    ]
  
    fields {
      field_path = &quot;customer_id&quot;
      order      = &quot;ASCENDING&quot;
    }
  
    fields {
      field_path = &quot;job_type&quot;
      order      = &quot;ASCENDING&quot;
    }
  
    fields {
      field_path = &quot;start_date_time&quot;
      order      = &quot;ASCENDING&quot;
    }
  
    fields {
      field_path = &quot;__name__&quot;
      order      = &quot;ASCENDING&quot;
    }
  }
  </code></pre>
  <p>Below are the logs:</p>
  <pre><code>Step #2: Error: Error waiting to create Index: Error waiting for Creating Index: timeout while waiting for state to become 'done: true' (last state: 'done: false', timeout: 10m0s)
  Step #2: 
  Step #2:   on firestore.tf line 298, in resource &quot;google_firestore_index&quot; &quot;job_config1_index&quot;:
  Step #2:  298: resource &quot;google_firestore_index&quot; &quot;job_config1_index&quot; {
  Step #2: 
  Step #2: 
  </code></pre>
  <p>My other Firestore indexes are creating fine.
  How can I increase the timeout for each index?</p>