vars.tf 971 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 "tags" {
  16. description = "Tags to add to the resource (in addition to global standard tags)"
  17. type = map
  18. default = { }
  19. }
  20. variable "standard_tags" { type = map }
  21. variable "environment" { type = string }
  22. variable "aws_region" { type = string }
  23. variable "aws_partition" { type = string }
  24. variable "aws_partition_alias" { type = string }
  25. variable "aws_account_id" { type = string }
  26. variable "common_services_account" { type = string }
  27. variable "splunk_prefix" { type = string }
  28. variable "badge_enabled" {
  29. type = string
  30. default = "false"
  31. }
  32. variable "webhook_branch_filter" {
  33. type = string
  34. default = "^(master|develop)$"
  35. }