variable "aws_region" {
  description = "AWS region (default eu-west-1)"
  type        = string
  default     = "eu-west-1"
}

variable "aws_access_key" {
  description = "AWS access key (default empty, to take from env vars or ~/.aws)"
  type        = string
  default     = ""
}

variable "aws_secret_key" {
  description = "AWS secret key (default empty, to take from env vars or ~/.aws)"
  type        = string
  default     = ""
}


variable "name" {
  description = "Name (kebab-case-format recommended) that will be used to prefix resource names."
  type        = string
  default     = "cloudsoft-amp-efs-exercise"
}

variable "tags" {
  description = "Set of tags to be applied to all supported resources"
  type        = map(string)
  default     = {}
}


variable "efs_mount_dns_name" {
  description = "DNS name of the EFS mount"
  type        = string
}

variable "subnet" {
  description = "Subnet where this server should be created"
  type        = string
}

variable "efs_security_group" {
  description = "Security group required at this server to connect to EFS"
  type        = string
}


variable "extra_security_groups" {
  description = "Additional security groups that should apply to this server"
  type        = list(string)
  default     = []
}

variable "ami" {
  description = "AMI to use (eu-west-1 centos9)"
  type        = string
  default     = "ami-09e310d4361a3b13a"
}

variable "ami_user" {
  description = "User to log in to the EC2 instance, usually either centos (historically) or ec2-user (for centos 9)"
  type        = string
  default     = "ec2-user"
}

variable "instance_type" {
  description = "Instance type for the EFS access server"
  type        = string
  default     = "t3.small"
}
