variable "env" {
  type        = string
  default     = "dev"
  description = "The environment for the RDS instance, e.g., dev, staging, prod"
}

variable "region" {
  type        = string
  description = "The AliCloud region to deploy RDS in"
}

variable "source_region" {
  type        = string
  default     = "ap-southeast-1"
  description = "the region hosted secrets to copy"
}

check "ap-southeast-1" {
  assert {
    condition     = var.region != "ap-southeast-1"
    error_message = "region ap-southeast-1 is not managed by terraform."
  }
}
