67 lines
1.4 KiB
HCL
67 lines
1.4 KiB
HCL
/* SCALING --------------------------------------*/
|
|
|
|
variable "region" {
|
|
description = "Region in which the host reside."
|
|
type = string
|
|
}
|
|
|
|
variable "prefix" {
|
|
description = "Short name of provider being used."
|
|
type = string
|
|
default = "ms"
|
|
}
|
|
|
|
/* STATIC ---------------------------------------*/
|
|
|
|
variable "ips" {
|
|
description = "Static list of IPs used by the hosts."
|
|
type = list(string)
|
|
}
|
|
|
|
/* GENERAL --------------------------------------*/
|
|
|
|
variable "name" {
|
|
description = "Prefix of hostname before index."
|
|
type = string
|
|
default = "node"
|
|
}
|
|
|
|
variable "group" {
|
|
description = "Name of Ansible group to add hosts to."
|
|
type = string
|
|
}
|
|
|
|
variable "env" {
|
|
description = "Environment for these hosts, affects DNS entries."
|
|
type = string
|
|
}
|
|
|
|
variable "stage" {
|
|
description = "Name of stage, like prod, dev, or staging."
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "domain" {
|
|
description = "DNS Domain to update"
|
|
type = string
|
|
}
|
|
|
|
variable "zone_id" {
|
|
description = "ID of CloudFlare zone for host record."
|
|
/* We default to: statusim.net */
|
|
default = "14660d10344c9898521c4ba49789f563"
|
|
}
|
|
|
|
variable "shell_type" {
|
|
description = "Type of shell used by Ansible."
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "become" {
|
|
description = "Whether Ansible should become a user."
|
|
type = string
|
|
default = null
|
|
}
|