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.

54 lines
789 B

  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 "worker_sa_email" {
  26. type = string
  27. }
  28. variable "worker_sa_scopes" {
  29. type = list(string)
  30. }
  31. variable "ssh_pub_key" {}
  32. variable "ssh_whitelist" {
  33. type = list(string)
  34. }
  35. variable "api_server_whitelist" {
  36. type = list(string)
  37. }
  38. variable "nodeport_whitelist" {
  39. type = list(string)
  40. }
  41. variable "private_network_cidr" {
  42. default = "10.0.10.0/24"
  43. }