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.

75 lines
1.1 KiB

  1. variable "region" {
  2. type = string
  3. }
  4. variable "prefix" {}
  5. variable "machines" {
  6. type = map(object({
  7. node_type = string
  8. size = string
  9. zone = string
  10. additional_disks = map(object({
  11. size = number
  12. }))
  13. boot_disk = object({
  14. image_name = string
  15. size = number
  16. })
  17. }))
  18. }
  19. variable "master_sa_email" {
  20. type = string
  21. }
  22. variable "master_sa_scopes" {
  23. type = list(string)
  24. }
  25. variable "master_preemptible" {
  26. type = bool
  27. }
  28. variable "master_additional_disk_type" {
  29. type = string
  30. }
  31. variable "worker_sa_email" {
  32. type = string
  33. }
  34. variable "worker_sa_scopes" {
  35. type = list(string)
  36. }
  37. variable "worker_preemptible" {
  38. type = bool
  39. }
  40. variable "worker_additional_disk_type" {
  41. type = string
  42. }
  43. variable "ssh_pub_key" {}
  44. variable "ssh_whitelist" {
  45. type = list(string)
  46. }
  47. variable "api_server_whitelist" {
  48. type = list(string)
  49. }
  50. variable "nodeport_whitelist" {
  51. type = list(string)
  52. }
  53. variable "ingress_whitelist" {
  54. type = list(string)
  55. default = ["0.0.0.0/0"]
  56. }
  57. variable "private_network_cidr" {
  58. default = "10.0.10.0/24"
  59. }