Hi@akhtar,
You can create a policy and give a role according to your requirement. Terraform has resource google_project_iam_policy, that helps to deal with IAM policy in the GCP cloud. You can see the below example.
resource "google_project_iam_policy" "project" {
  project     = "your-project-id"
  policy_data = data.google_iam_policy.admin.policy_data
}
data "google_iam_policy" "admin" {
  binding {
    role = "roles/editor"
    members = [
      "user:jane@example.com",
    ]
  }
}