2019-05-28 12:33:58 -04:00
|
|
|
/* REQUIRED -------------------------------------*/
|
|
|
|
|
|
|
|
variable aws_access_key {
|
|
|
|
description = "Access key for the AWS API."
|
|
|
|
}
|
|
|
|
|
|
|
|
variable aws_secret_key {
|
|
|
|
description = "Secret key for the AWS API."
|
|
|
|
}
|
|
|
|
|
2019-05-28 15:17:01 -04:00
|
|
|
variable gandi_api_token {
|
|
|
|
description = "API token for Gandi DNS API"
|
|
|
|
}
|
|
|
|
|
2019-05-28 12:33:58 -04:00
|
|
|
/* GENERAL --------------------------------------*/
|
|
|
|
|
2019-05-28 17:30:23 -04:00
|
|
|
variable hosts_subdomain {
|
2019-05-28 12:33:58 -04:00
|
|
|
description = "Domain for hosts entries."
|
2019-05-28 17:30:23 -04:00
|
|
|
default = "hosts"
|
2019-05-28 12:33:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
variable public_domain {
|
|
|
|
description = "Public DNS Domain address"
|
|
|
|
default = "dap.ps"
|
|
|
|
}
|
2019-05-28 14:42:16 -04:00
|
|
|
|
|
|
|
/* ENVIRONMENT ----------------------------------*/
|
|
|
|
|
|
|
|
variable env {
|
|
|
|
description = "Name of environment to create"
|
|
|
|
default = "dapps"
|
|
|
|
}
|
2019-05-28 16:15:26 -04:00
|
|
|
|
2019-05-28 17:23:18 -04:00
|
|
|
variable zone {
|
|
|
|
description = "Name of availability zone to deploy to."
|
|
|
|
default = "us-east-1a"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable image_name {
|
|
|
|
description = "Name of AMI image to use."
|
|
|
|
default = "ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20190212.1"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable instance_type {
|
|
|
|
description = "Name of instance type to use"
|
|
|
|
default = "t3.medium"
|
2019-05-28 16:15:26 -04:00
|
|
|
}
|
2019-05-28 18:32:52 -04:00
|
|
|
|
|
|
|
variable ssh_user {
|
|
|
|
description = "Default user to use when accesing host via SSH."
|
|
|
|
default = "ubuntu"
|
|
|
|
}
|