variable "project_id" {
  type        = string
  description = "GCP project ID containing the BigQuery datasets"
}

variable "datasets" {
  type        = list(string)
  description = "List of BigQuery dataset IDs to grant access to"
}

variable "members" {
  type        = list(string)
  description = "List of IAM members (users or service accounts) to grant access"
}

variable "role" {
  type        = string
  default     = "roles/bigquery.dataViewer"
  description = "IAM role to grant on each dataset"
}
