variable "database_name" {
  type        = string
  description = "The name of the database (must be upper-case)."
}

variable "role_name_suffix" {
  type        = string
  description = "Role name always starts with the database name, followed by _DB_ and the role_name_suffix."
}

variable "schema_objects_by_type_and_privileges" {
  type = list(object({
    schema     = string,
    type       = string,
    objects    = list(string),
    privileges = list(string),
  }))
  description = "A list of objects containing schema name with the list of objects and privileges to grant to those objects."
}
