How to grant access to an existing bigquery dataset

Hello,

I want to grant access to an existing dataset which was created earlier to a service account. I’ve tried using
“google_bigquery_dataset_iam_binding” by supplying it with the appropriate dataset_id but it came back with

The provider provider.google does not support resource type “google_bigquery_dataset_iam_binding”.

Note that this dataset has already been defined in a different main.tf file. Do I have to redefine it in my main.tf file using ,

“google_bigquery_dataset” and then granting access to it? I fear it may rewrite the existing one.