vars.tf 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 "source_version" {
  7. description = "Tag or branch for the git repository."
  8. type = string
  9. default = "master"
  10. }
  11. variable "enable_webhooks" {
  12. description = "Build on changes?"
  13. type = bool
  14. default = true
  15. }
  16. variable "standard_tags" { type = map }
  17. variable "environment" { type = string }
  18. variable "aws_partition" { type = string }
  19. variable "aws_partition_alias" { type = string }
  20. variable "aws_account_id" { type = string }
  21. variable "name" { type = string }
  22. variable "service_role" { type = string }
  23. variable "responsible_accounts" { type = map(list(string)) }
  24. variable "artifact_s3_bucket" { type = string }
  25. variable "codebuild_image" {type = string }
  26. variable "kms_key" {
  27. type = string
  28. default = ""
  29. }
  30. variable "badge_enabled" {
  31. type = string
  32. default = "false"
  33. }
  34. variable "webhook_branch_filter" {
  35. type = string
  36. default = "^(master|develop)$"
  37. }