variable "aws_profile" {
    description = "AWS profile to deploy to"
}

variable "aws_region" {
    description = "The region we're deploying to"
}

variable "service_name" {
    description = "The name of this service"
    default = "dry-terraform-poc-service"
}

variable "service_name_abbrv" {
    description = "The short version of the name of this service, for char-limited fields"
    default = "dry-tf-poc"
}

variable "environment" {
    description = "Environment key for namespacing infra"
}

variable "base_environment" {
    description = "Which environment to use for shared resources"
}

variable "domain_name" {
    description = "Public Route53 domain name"
}

variable "deployment_role" {
    description = "Role used to perform deployments"
    default = "automation_gha_ci"
}

variable "master_instance_type" {
    description = "Instance type to use for the RDS DB writer"
    default = "db.r5.4xlarge"
}

variable "slave_instance_type" {
    description = "Instance type to use for the RDS DB readers"
    default = "db.r5.large"
}

variable "db_name" {
    description = "Name of database to provision at deploy time"
    default = "dry_tf_poc_db"
}

variable "rds_username" {
    description = "Name of master user to provision"
    default = "devops"
}

variable "db_cluster_size" {
    default = 2
}

variable "db_min_capacity" {
    type = number
    default = 1

}

variable "db_max_capacity" {
    default = "15"
}

variable "db_scaling_target_metric" {
    default = "RDSReaderAverageCPUUtilization"
}

variable "db_scaling_target_value" {
    default = 25
}

variable "docker_registry_url" {
    type = string
    default = "value"
}

variable "docker_image_tag" {
    description = "Hash of commit"
    default = "testing"
    type = string
}

variable "ecs_memory_limit" {
    type = string
    default = "512"
}

variable "ecs_cpu_reservation" {
    type = string
}

variable "ecs_service_desired_task_count" {
}

variable "ecs_container_port" {
    description = "The port that a container in the task listens on for LB to route to"
}

variable "ecs_ulimit_nofile" {
    description = "Sets the ulimit on nofile"
}

variable "ecs_min_tasks" {
    description = "Minimum number of API containers to run per region"
    default = 2
}

variable "ecs_max_tasks" {
    description = "Maximum number of API containers to run per region"
    default = 212
}

//etc etc