57 lines
1.6 KiB
HCL
57 lines
1.6 KiB
HCL
variable "region" {
|
|
default = "us-west-1"
|
|
}
|
|
variable "availability_zone" {
|
|
description = "https://www.terraform.io/docs/providers/aws/d/availability_zone.html"
|
|
default = ""
|
|
}
|
|
variable "shared_credentials_file" {
|
|
description = "Path to your AWS credentials file"
|
|
type = "string"
|
|
default = "/home/username/.aws/credentials"
|
|
}
|
|
variable "public_key_name" {
|
|
description = "A name for AWS Keypair to use to auth to logger. Can be anything you specify."
|
|
default = "id_logger"
|
|
}
|
|
variable "public_key_path" {
|
|
description = "Path to the public key to be loaded into the logger authorized_keys file"
|
|
type = "string"
|
|
default = "/home/username/.ssh/id_logger.pub"
|
|
}
|
|
variable "private_key_path" {
|
|
description = "Path to the private key to use to authenticate to logger."
|
|
type = "string"
|
|
default = "/home/username/.ssh/id_logger"
|
|
}
|
|
variable "ip_whitelist" {
|
|
description = "A list of CIDRs that will be allowed to access the EC2 instances"
|
|
type = "list"
|
|
default = [""]
|
|
}
|
|
variable "external_dns_servers" {
|
|
description = "Configure lab to allow external DNS resolution"
|
|
type = "list"
|
|
default = ["8.8.8.8"]
|
|
}
|
|
|
|
# The logger host uses the Amazon Ubuntu 16.04 image
|
|
# If you are building your own AMIs, replace the default values below with
|
|
# the AMI IDs
|
|
variable "logger_ami" {
|
|
type = "string"
|
|
default = "ami-0693b32d066fade8a"
|
|
}
|
|
variable "dc_ami" {
|
|
type = "string"
|
|
default = "ami-0f0f0aaba01986b10"
|
|
}
|
|
variable "wef_ami" {
|
|
type = "string"
|
|
default = "ami-02566cd6ca3b7c6ae"
|
|
}
|
|
variable "win10_ami" {
|
|
type = "string"
|
|
default = "ami-06a8a101dac68a81a"
|
|
}
|