variable "account" {
  description = "The Snowflake account name."
  default     = "delphi"
}

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

variable "schemas" {
  type = list(object({
    name         = string
    is_managed   = optional(bool, true)
    create_roles = optional(bool, true)
  }))
  description = "A list of schemas to create in the database"
  default = [
    {
      name       = "DEV",
      is_managed = true
    },
    {
      name       = "QA",
      is_managed = false
    },
    {
      name       = "PROD",
      is_managed = false
    }
  ]
}
