You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
650 B

  1. variable "zone" {
  2. description = "The zone where to run the cluster"
  3. }
  4. variable "hostname" {
  5. default = "example.com"
  6. }
  7. variable "template_name" {}
  8. variable "username" {}
  9. variable "machines" {
  10. description = "Cluster machines"
  11. type = map(object({
  12. node_type = string
  13. cpu = string
  14. mem = string
  15. disk_size = number
  16. }))
  17. }
  18. variable "ssh_public_keys" {
  19. description = "List of public SSH keys which are injected into the VMs."
  20. type = list(string)
  21. }
  22. variable "inventory_file" {
  23. description = "Where to store the generated inventory file"
  24. }
  25. variable "UPCLOUD_USERNAME" {}
  26. variable "UPCLOUD_PASSWORD" {}