vars.tf 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. variable "tags" {
  2. description = "Tags to add to the resource (in addition to global standard tags)"
  3. type = map
  4. default = { }
  5. }
  6. variable "fetch_submodules" {
  7. description = "Fetch submodules for git?"
  8. type = bool
  9. default = false
  10. }
  11. variable "source_version" {
  12. description = "Tag or branch for the git repository."
  13. type = string
  14. default = "master"
  15. }
  16. variable "enable_webhooks" {
  17. description = "Build on changes?"
  18. type = bool
  19. default = true
  20. }
  21. variable "standard_tags" { type = map }
  22. variable "environment" { type = string }
  23. variable "aws_partition" { type = string }
  24. variable "aws_partition_alias" { type = string }
  25. variable "aws_account_id" { type = string }
  26. variable "name" { type = string }
  27. variable "service_role" { type = string }
  28. variable "responsible_accounts" { type = map(list(string)) }
  29. variable "artifact_s3_bucket" { type = string }
  30. variable "codebuild_image" {type = string }
  31. variable "kms_key" {
  32. type = string
  33. default = ""
  34. }
  35. variable "badge_enabled" {
  36. type = string
  37. default = "false"
  38. }
  39. variable "webhook_branch_filter" {
  40. type = string
  41. default = "^(master|develop)$"
  42. }