variable "name_prefix" {
  type        = string
  description = "The prefix name of the instances and launch conf"
  default     = "dev-"
}

variable "name" {
  type    = string
  default = "apollo-itl"
}

variable "common_tags" {
  type        = map(string)
  description = "Common tags to add to a launch template"
  default = {
  }
}

variable "instance_tags" {
  type        = map(string)
  description = "Common tags to add to instances"
  default = {
  }
}

variable "ami" {
  type        = string
  description = "The AMI to use for the instance."
  default     = ""
}

variable "instance_type" {
  type        = string
  description = "The type of instance to start."
}

variable "termination_protection" {
  description = "If true, enables EC2 Instance Termination Protection"
  default     = false
}

variable "key_name" {
  type        = string
  description = "The key name to use for the instance."
}

variable "security_groups" {
  type        = list(string)
  description = "A list of security group names to associate with."
  default     = []
}

variable "iam_instance_profile" {
  type        = string
  description = "The IAM Instance Profile to launch the instance with. Specified as the name of the Instance Profile."
  default     = ""
}

variable "root_volume_size" {
  description = "The size of the volume in gigabytes."
  default     = 10
}

variable "device_name" {
  type    = string
  default = "/dev/sda1"
}

variable "kms_key_id" {
  type    = string
  default = ""
}

variable "is_public" {
  description = "Assign or not assign a public IP to a network interface"
  default     = "true"
}

variable "is_spot" {
  description = "Assign or not assign a public IP to a network interface"
  default     = "true"
}

