Select Git revision
      
  variables.tf
              František Dvořák authored 
   variables.tf  1.47 KiB 
variable "type" {
	description = "Which software to setup"
	default = "hadoop"
}
variable "n" {
	description = "Number of instances"
	default = 2
}
variable "master_hostname" {
	description = "Master hostname"
	default = "master"
}
variable "node_hostname" {
	description = "Node hostnames prefix"
	default = "node"
}
variable "domain" {
	description = "Local domain name"
	default = "terra"
}
variable "image" {
	description = "Image name"
	default = "debian-9-x86_64"
}
variable "image_user" {
	description = "SSH user"
	default = "debian"
}
variable "local_network" {
	description = "Local network name"
	default = "auto_allocated_network"
}
variable "public_network" {
	description = "Public network name"
	default = "public-muni-147-251-124-GROUP"
	# default = "public-cesnet-78-128-250-PERSONAL"
}
variable "security_trusted_cidr4" {
	description = "Trusted networks"
	type = set(string)
	default = [
		"78.128.128.0/17", # CESNET
		"116.216.0.0/15",  # UNOB, JČU
		"146.102.0.0/16",  # VŠE
		"147.32.0.0/15",   # ČVUT, VSCHT
		"147.228.0.0/14",  # ZČU, VUT, TUL, AVČR
		"147.251.0.0/16",  # MUNI
		"158.194.0.0/16",  # UPOL
		"158.196.0.0/16",  # VŠB
		"193.84.32.0/20",  # ČZU
		"193.84.192.0/19", # SLU
		"195.113.0.0/16",  # CESNET
		"195.178.64.0/19", # CESNET
	]
}
variable "security_trusted_cidr6" {
	description = "Trusted networks"
	type = set(string)
	default = [
		"2001:718::/32",   # CESNET	]
}
variable "ssh" {
	description = "SSH key name"
	default = "openstack"
}