variable "account" {
  type        = string
  description = "Snowflake account name"
  default     = "DELPHI"
}

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

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 = "SESSION_POLICIES", create_roles = false },
    { name = "AUTHENTICATION_POLICIES", create_roles = false },
    { name = "NETWORK_RULES", create_roles = false },
    { name = "TAGS", create_roles = false },
  ]
}
