title: Want to assign multiple Google cloud IAM roles to a service account via terraform
body: <p>I want to assign multiple IAM roles to a single service account through terraform. I prepared a TF file to do that, but it has an error. With a single role it can be successfully assigned but with multiple IAM roles, it gave an error.</p>
  <pre><code>data &quot;google_iam_policy&quot; &quot;auth1&quot; {
    binding {
      role = &quot;roles/cloudsql.admin&quot;
      members = [
        &quot;serviceAccount:${google_service_account.service_account_1.email}&quot;,
      ]    
      role = &quot;roles/secretmanager.secretAccessor&quot;
      members = [
        &quot;serviceAccount:${google_service_account.service_account_1.email}&quot;,
      ]      
      role = &quot;roles/datastore.owner&quot;
      members = [
        &quot;serviceAccount:${google_service_account.service_account_1.email}&quot;,
      ]  
      role = &quot;roles/storage.admin&quot;
      members = [
        &quot;serviceAccount:${google_service_account.service_account_1.email}&quot;,
      ]      
    }
  }
  </code></pre>
  <p>How can I assign multiple roles against a single service account?</p>