Terraform module to deploy alertmanager webhook servicenow on kubernetes.
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.

120 lines
2.9KB

  1. variable "deployment_name" {
  2. description = "Name of the deployment that will be create."
  3. default = "alertmanager-webhook-servicenow"
  4. }
  5. variable "namespace" {
  6. description = "Namespace in which the module will be deployed."
  7. default = "default"
  8. }
  9. variable "annotations" {
  10. description = "Additionnal annotations that will be merged on all resources."
  11. default = {}
  12. }
  13. variable "deployment_annotations" {
  14. description = "Additionnal annotations that will be merged on the deployment."
  15. default = {}
  16. }
  17. variable "labels" {
  18. description = "Additionnal labels that will be merged on all resources."
  19. default = {}
  20. }
  21. variable "deployment_labels" {
  22. description = "Additionnal labels that will be merged on the deployment."
  23. default = {}
  24. }
  25. variable "replicas" {
  26. description = "Number of replicas to deploy."
  27. default = 2
  28. }
  29. variable "image_pull_policy" {
  30. description = "Image pull policy on the main container."
  31. default = "IfNotPresent"
  32. }
  33. variable "service_name" {
  34. description = "Name of the service that will be create"
  35. default = "alertmanager-webhook-servicenow"
  36. }
  37. variable "service_annotations" {
  38. description = "Additionnal annotations that will be merged for the service."
  39. default = {}
  40. }
  41. variable "service_labels" {
  42. description = "Additionnal labels that will be merged for the service."
  43. default = {}
  44. }
  45. variable "port" {
  46. description = "Port to be used for the service."
  47. default = 80
  48. }
  49. variable "config_map_name" {
  50. description = "Name of the config map that will be created."
  51. default = "alertmanager-webhook-servicenow"
  52. }
  53. variable "config_map_annotations" {
  54. description = "Additionnal annotations that will be merged for the config map."
  55. default = {}
  56. }
  57. variable "config_map_labels" {
  58. description = "Additionnal labels that will be merged for the config map."
  59. default = {}
  60. }
  61. variable "secret_name" {
  62. description = "Name of the secret that will be created."
  63. default = "alertmanager-webhook-servicenow"
  64. }
  65. variable "secret_annotations" {
  66. description = "Additionnal annotations that will be merged for the secret."
  67. default = {}
  68. }
  69. variable "secret_labels" {
  70. description = "Additionnal labels that will be merged for the secret."
  71. default = {}
  72. }
  73. variable "enabled" {
  74. description = "Whether or not to enable this module."
  75. default = true
  76. }
  77. variable "instance_name" {
  78. description = "Name of the service-now instance to connect to."
  79. type = string
  80. }
  81. variable "user_name" {
  82. description = "Username to use when connecting to service-now."
  83. type = string
  84. }
  85. variable "password" {
  86. description = "Password to use when connecting to service-now."
  87. type = string
  88. }
  89. variable "configuration" {
  90. description = "Configuration to use for alertmanager-webhook-servicenow (must be a yaml string)."
  91. type = string
  92. }
  93. variable "application_version" {
  94. description = "Version of AWSN to deploy."
  95. default = "1.6.0"
  96. }