variable "name" {
  type        = string
  description = "Name used for ECS service, ECS task definition"
}
variable "role_arn" {
  type        = string
  description = "ECS task role arn"
}
variable "exec_role_arn" {
  type        = string
  description = "ECS execution role arn"
}
variable "ecs_cluster" {
  type        = string
  description = "ECS cluster name"
}
variable "container_image" {
  type        = string
  description = "registry and tag used for the ECS tasks"
}
variable "subnet_ids" {
  type        = list(string)
  description = "value"
}
variable "sg_ids" {
  type        = list(string)
  description = "value"
}
variable "tags" {
  type        = map(string)
  description = "Common tags to add for the objects."
  default     = {}
}
variable "env_vars" {
  type        = map(string)
  description = "The map containing environment variables with values to pass to the container."
  default     = {}
}
variable "secrets" {
  type        = map(string)
  description = "The map containing environment variable names with secret arns to pass to the container."
  default     = {}
}
variable "docker_labels" {
  type        = map(string)
  description = "Key-value map of docker labels."
  default     = null
}
variable "awslogs_group_name" {
  type        = string
  description = "The name of the log group where awslogs driver will send events."
  default     = ""
}
variable "awslogs_region" {
  type        = string
  description = "The region to which the awslogs log driver should send your Docker logs. "
  default     = "us-east-1"
}
variable "awslogs_stream_prefix" {
  type        = string
  description = "The stream-prefix for your logs."
  default     = "ecs"
}
variable "awslogs_retention" {
  type        = number
  description = "Logs will expire after this period of time"
  default     = 90
}
variable "platform_version" {
  type        = string
  description = "Fargate version"
  default     = "1.4.0"
}
