# Terraform's crude "type system" does not properly support lists of maps so we do this.
variable"controller_names"{
type="list"
}
variable"controller_macs"{
type="list"
}
variable"controller_domains"{
type="list"
}
variable"worker_names"{
type="list"
}
variable"worker_macs"{
type="list"
}
variable"worker_domains"{
type="list"
}
# configuration
variable"k8s_domain_name"{
description="Controller DNS name which resolves to a controller instance. Workers and kubeconfig's will communicate with this endpoint (e.g. cluster.example.com)"
type="string"
}
variable"ssh_authorized_key"{
type="string"
description="SSH public key for user 'fedora'"
}
variable"asset_dir"{
description="Path to a directory where generated assets should be placed (contains secrets)"
type="string"
}
variable"networking"{
description="Choice of networking provider (flannel or calico)"
type="string"
default="calico"
}
variable"network_mtu"{
description="CNI interface MTU (applies to calico only)"
type="string"
default="1480"
}
variable"pod_cidr"{
description="CIDR IPv4 range to assign Kubernetes pods"