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.

42 lines
853 B

  1. variable "zone" {
  2. type = string
  3. # This is currently the only zone that is supposed to be supporting
  4. # so called "managed private networks".
  5. # See: https://www.exoscale.com/syslog/introducing-managed-private-networks
  6. default = "ch-gva-2"
  7. }
  8. variable "prefix" {}
  9. variable "machines" {
  10. type = map(object({
  11. node_type = string
  12. size = string
  13. boot_disk = object({
  14. image_name = string
  15. root_partition_size = number
  16. ceph_partition_size = number
  17. node_local_partition_size = number
  18. })
  19. }))
  20. }
  21. variable "ssh_public_keys" {
  22. type = list(string)
  23. }
  24. variable "ssh_whitelist" {
  25. type = list(string)
  26. }
  27. variable "api_server_whitelist" {
  28. type = list(string)
  29. }
  30. variable "nodeport_whitelist" {
  31. type = list(string)
  32. }
  33. variable "private_network_cidr" {
  34. default = "172.0.10.0/24"
  35. }