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.

69 lines
1.1 KiB

  1. variable "cluster_name" {
  2. default = "example"
  3. }
  4. variable "number_of_k8s_masters" {
  5. default = 2
  6. }
  7. variable "number_of_k8s_masters_no_floating_ip" {
  8. default = 2
  9. }
  10. variable "number_of_k8s_nodes" {
  11. default = 1
  12. }
  13. variable "number_of_k8s_nodes_no_floating_ip" {
  14. default = 1
  15. }
  16. variable "public_key_path" {
  17. description = "The path of the ssh pub key"
  18. default = "~/.ssh/id_rsa.pub"
  19. }
  20. variable "image" {
  21. description = "the image to use"
  22. default = "ubuntu-14.04"
  23. }
  24. variable "ssh_user" {
  25. description = "used to fill out tags for ansible inventory"
  26. default = "ubuntu"
  27. }
  28. variable "flavor_k8s_master" {
  29. default = 3
  30. }
  31. variable "flavor_k8s_node" {
  32. default = 3
  33. }
  34. variable "network_name" {
  35. description = "name of the internal network to use"
  36. default = "internal"
  37. }
  38. variable "floatingip_pool" {
  39. description = "name of the floating ip pool to use"
  40. default = "external"
  41. }
  42. variable "username" {
  43. description = "Your openstack username"
  44. }
  45. variable "password" {
  46. description = "Your openstack password"
  47. }
  48. variable "tenant" {
  49. description = "Your openstack tenant/project"
  50. }
  51. variable "auth_url" {
  52. description = "Your openstack auth URL"
  53. }