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

variable "organization" {
  description = "The Snowflake organization name."
  default     = "sme"
}

variable "database_name" {
  description = "The name of the database."
  default     = "AOMA_REPORTING"
}

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 = "PROD" },
    { name = "AOMA", is_managed = false },
    { name = "AOMA_QA", is_managed = false },
  ]
}
