variables.tf 818 B

1234567891011121314151617181920212223242526272829303132333435
  1. variable "master_ip" {
  2. description = "Master node IP address"
  3. type = string
  4. default = "47.113.186.215"
  5. }
  6. variable "master_password" {
  7. description = "Root password for master node"
  8. type = string
  9. default = "Xs261617"
  10. }
  11. variable "worker_ips" {
  12. description = "Worker node IP addresses"
  13. type = list(string)
  14. default = ["101.201.78.54", "47.120.61.39"]
  15. }
  16. variable "worker_password" {
  17. description = "Root password for worker nodes"
  18. type = string
  19. default = "Xs261617"
  20. }
  21. variable "k3s_version" {
  22. description = "k3s version to install"
  23. type = string
  24. default = "v1.35.0+k3s1"
  25. }
  26. variable "k3s_download_url" {
  27. description = "URL to download k3s binary"
  28. type = string
  29. default = "http://download.9981.tech/k3s-v1.35.0%2Bk3s1"
  30. }