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.

61 lines
1.0 KiB

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