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.

90 lines
1.5 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 "number_of_gfs_nodes_no_floating_ip" {
  17. default = 0
  18. }
  19. variable "gfs_volume_size_in_gb" {
  20. default = 75
  21. }
  22. variable "public_key_path" {
  23. description = "The path of the ssh pub key"
  24. default = "~/.ssh/id_rsa.pub"
  25. }
  26. variable "image" {
  27. description = "the image to use"
  28. default = "ubuntu-14.04"
  29. }
  30. variable "image_gfs" {
  31. description = "Glance image to use for GlusterFS"
  32. default = "ubuntu-16.04"
  33. }
  34. variable "ssh_user" {
  35. description = "used to fill out tags for ansible inventory"
  36. default = "ubuntu"
  37. }
  38. variable "ssh_user_gfs" {
  39. description = "used to fill out tags for ansible inventory"
  40. default = "ubuntu"
  41. }
  42. variable "flavor_k8s_master" {
  43. default = 3
  44. }
  45. variable "flavor_k8s_node" {
  46. default = 3
  47. }
  48. variable "flavor_gfs_node" {
  49. default = 3
  50. }
  51. variable "network_name" {
  52. description = "name of the internal network to use"
  53. default = "internal"
  54. }
  55. variable "floatingip_pool" {
  56. description = "name of the floating ip pool to use"
  57. default = "external"
  58. }
  59. variable "username" {
  60. description = "Your openstack username"
  61. }
  62. variable "password" {
  63. description = "Your openstack password"
  64. }
  65. variable "tenant" {
  66. description = "Your openstack tenant/project"
  67. }
  68. variable "auth_url" {
  69. description = "Your openstack auth URL"
  70. }