vars.tf 900 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. variable "tags" {
  2. description = "Tags to add to the resource (in addition to global standard tags)"
  3. type = map(any)
  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 "name" { type = string }
  22. variable "service_role" { type = string }
  23. variable "artifact_s3_bucket" { type = string }
  24. variable "codebuild_image" { type = string }
  25. variable "kms_key" {
  26. type = string
  27. default = ""
  28. }
  29. variable "badge_enabled" {
  30. type = string
  31. default = "false"
  32. }
  33. variable "webhook_branch_filter" {
  34. type = string
  35. default = "^(master|develop)$"
  36. }