variable "region" {
  type = string
  description = "Region to use"
  default = "ap-northeast-1"
}

variable "availability_zones" {
  description = "AZ to use"
  default = ["ap-northeast-1a", "ap-northeast-1c"]
}

variable "app_cidr" {
  description = "CIDR to use for the VPC"
  default     = "10.10.0.0/16"
}

variable "app_private_subnets_cidr" {
  description = "CIDR used for private subnets"
  default     = ["10.10.1.0/24", "10.10.2.0/24"]
}

variable "app_public_subnets_cidr" {
  description = "CIDR used for private subnets"
  default     = ["10.10.101.0/24", "10.10.102.0/24"]
}

variable "hostname" {
  type    = string
  description = "Website Hostname"
  default = "pingcap.co.jp"
}

variable "k8s_cluster_name" {
  default = "wordpress-jp-cluster"
}

variable "namespace" {
  default = "wordpress"
}

variable "db_config" {
  type = object({
    name = string
    port = number
    password = string
    user = string
  })
  description = "Config for RDS"
}

variable "eks_admin_role" {
  type    = string
  default = "eks-admin-role"
}

variable "cert_id" {
  type    = string
  description = "Certificate issued by AWS"
}