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.

46 lines
1.1 KiB

  1. variable "zone" {
  2. description = "The zone where to run the cluster"
  3. }
  4. variable "prefix" {
  5. description = "Prefix for resource names"
  6. default = "default"
  7. }
  8. variable "machines" {
  9. description = "Cluster machines"
  10. type = map(object({
  11. node_type = string
  12. size = string
  13. image = string
  14. }))
  15. }
  16. variable "ssh_public_keys" {
  17. description = "Public SSH key which are injected into the VMs."
  18. type = list(string)
  19. }
  20. variable "ssh_whitelist" {
  21. description = "List of IP ranges (CIDR) to whitelist for ssh"
  22. type = list(string)
  23. }
  24. variable "api_server_whitelist" {
  25. description = "List of IP ranges (CIDR) to whitelist for kubernetes api server"
  26. type = list(string)
  27. }
  28. variable "nodeport_whitelist" {
  29. description = "List of IP ranges (CIDR) to whitelist for kubernetes nodeports"
  30. type = list(string)
  31. }
  32. variable "ingress_whitelist" {
  33. description = "List of IP ranges (CIDR) to whitelist for HTTP"
  34. type = list(string)
  35. }
  36. variable "inventory_file" {
  37. description = "Where to store the generated inventory file"
  38. }