config.tf 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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 "base_domain" {
  13. type = "string"
  14. description = <<EOF
  15. The base DNS domain of the cluster. It must NOT contain a trailing period. Some
  16. DNS providers will automatically add this if necessary.
  17. Example: `openshift.example.com`.
  18. Note: This field MUST be set manually prior to creating the cluster.
  19. This applies only to cloud platforms.
  20. EOF
  21. }
  22. variable "cluster_name" {
  23. type = "string"
  24. description = <<EOF
  25. The name of the cluster.
  26. If used in a cloud-environment, this will be prepended to `base_domain` resulting in the URL to the OpenShift console.
  27. Note: This field MUST be set manually prior to creating the cluster.
  28. EOF
  29. }
  30. variable "ignition_master" {
  31. type = "string"
  32. default = ""
  33. description = <<EOF
  34. (internal) Ignition config file contents. This is automatically generated by the installer.
  35. EOF
  36. }
  37. variable "ignition_bootstrap" {
  38. type = "string"
  39. default = ""
  40. description = <<EOF
  41. (internal) Ignition config file contents. This is automatically generated by the installer.
  42. EOF
  43. }
  44. // This variable is generated by OpenShift internally. Do not modify
  45. variable "cluster_id" {
  46. type = "string"
  47. description = "(internal) The OpenShift cluster id."
  48. }