# variables.tf variable "access_key" { default = "" } variable "secret_key" { default = "" } variable "region" { default = "us-east-1" } variable "availabilityZone" { default = "us-east-1a" } variable "instanceType" { default = "t2.micro" } variable "keyName" { default = "" } variable "keyPath" { default = "~/.pem" } variable "subnet" { default = "subnet-" } variable "securityGroups" { type = list default = [ "sg-" ] } variable "instanceName" { default = "" } # ami-0b898040803850657 is the free Amazon Linux 2 AMI # for the us-east-1 region. Amazon Linux 2 # is a downstream version of Red Hat Enterprise Linux / # Fedora / CentOS. It is analogous to RHEL 7. variable "amis" { default = { "us-east-1" = "ami-0b898040803850657" } } # end of variables.tf