vars.tf 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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
  28. default = { }
  29. }
  30. variable "standard_tags" { type = map }
  31. variable "environment" { type = string }
  32. variable "aws_region" { type = string }
  33. variable "aws_partition" { type = string }
  34. variable "aws_partition_alias" { type = string }
  35. variable "aws_account_id" { type = string }
  36. variable "common_services_account" { type = string }
  37. variable "splunk_prefix" { type = string }
  38. variable "badge_enabled" {
  39. type = string
  40. default = "false"
  41. }
  42. variable "webhook_branch_filter" {
  43. type = string
  44. default = "^(master|develop)$"
  45. }