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 "vpc" {
  description = "VPC where EFS and server should be installed, creating if unset. Must use 172.16/16 subnet or larger."
  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 "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"
}

variable "access_security_groups" {
  description = "IDs of additional security groups whose members can access the EFS volume."
  type        = list(string)
  default     = []
}
