vars.tf 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. #"hf",
  5. #"idx",
  6. "sh-es",
  7. #"sh-cx",
  8. ])
  9. }
  10. variable "source_version" {
  11. description = "Tag or branch for the git repository."
  12. type = string
  13. default = "master"
  14. }
  15. variable "enable_webhooks" {
  16. description = "Build on changes?"
  17. type = bool
  18. default = false
  19. }
  20. variable "tags" {
  21. description = "Tags to add to the resource (in addition to global standard tags)"
  22. type = map
  23. default = { }
  24. }
  25. variable "standard_tags" { type = map }
  26. variable "environment" { type = string }
  27. variable "aws_region" { type = string }
  28. variable "aws_partition" { type = string }
  29. variable "aws_partition_alias" { type = string }
  30. variable "aws_account_id" { type = string }
  31. variable "common_services_account" { type = string }
  32. variable "splunk_prefix" { type = string }
  33. variable "badge_enabled" {
  34. type = string
  35. default = "false"
  36. }
  37. variable "webhook_branch_filter" {
  38. type = string
  39. default = "^(master|develop)$"
  40. }