config.tf 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. terraform {
  2. required_version = ">= 0.10.7"
  3. }
  4. variable "master_count" {
  5. type = "string"
  6. default = "1"
  7. description = <<EOF
  8. The number of master nodes to be created.
  9. This applies only to cloud platforms.
  10. EOF
  11. }
  12. variable "worker_count" {
  13. type = "string"
  14. default = "0"
  15. description = <<EOF
  16. The number of master nodes to be created.
  17. This applies only to cloud platforms.
  18. EOF
  19. }
  20. variable "base_domain" {
  21. type = "string"
  22. description = <<EOF
  23. The base DNS domain of the cluster. It must NOT contain a trailing period. Some
  24. DNS providers will automatically add this if necessary.
  25. Example: `openshift.example.com`.
  26. Note: This field MUST be set manually prior to creating the cluster.
  27. This applies only to cloud platforms.
  28. EOF
  29. }
  30. variable "cluster_name" {
  31. type = "string"
  32. description = <<EOF
  33. The name of the cluster.
  34. If used in a cloud-environment, this will be prepended to `base_domain` resulting in the URL to the OpenShift console.
  35. Note: This field MUST be set manually prior to creating the cluster.
  36. EOF
  37. }
  38. variable "ignition_master" {
  39. type = "string"
  40. default = ""
  41. description = <<EOF
  42. (internal) Ignition config file contents. This is automatically generated by the installer.
  43. EOF
  44. }
  45. variable "ignition_bootstrap" {
  46. type = "string"
  47. default = ""
  48. description = <<EOF
  49. (internal) Ignition config file contents. This is automatically generated by the installer.
  50. EOF
  51. }
  52. // This variable is generated by OpenShift internally. Do not modify
  53. variable "cluster_id" {
  54. type = "string"
  55. description = "(internal) The OpenShift cluster id."
  56. }