vars.tf 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. locals {
  2. # creates a job for each of these types, using <splunk_prefix>:<server type> as the tag
  3. splunk_server_types = toset([
  4. #"cm",
  5. #"hf",
  6. #"idx",
  7. "sh-es",
  8. "sh-cust",
  9. ])
  10. }
  11. variable "repository" {
  12. description = "Name of the repository. Must be part of the provider in the terragrunt.hcl. This will determine both the name of the repository and the folder in S3 where application artifacts are stored."
  13. type = string
  14. }
  15. variable "source_version" {
  16. description = "Tag or branch for the git repository."
  17. type = string
  18. default = "master"
  19. }
  20. variable "enable_webhooks" {
  21. description = "Build on changes?"
  22. type = bool
  23. default = false
  24. }
  25. variable "tags" {
  26. description = "Tags to add to the resource (in addition to global standard tags)"
  27. type = map(any)
  28. default = {}
  29. }
  30. variable "badge_enabled" {
  31. type = string
  32. default = "false"
  33. }
  34. variable "webhook_branch_filter" {
  35. type = string
  36. default = "^(master|develop)$"
  37. }
  38. variable "cors_rules" {
  39. description = "Map containing rules for Cross-Origin Resource Sharing."
  40. type = map(any)
  41. default = {}
  42. }