vars.tf 962 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 "name" { type = string }
  7. variable "service_role" { type = string }
  8. variable "github_clone_url" { type = string }
  9. variable "source_version" { type = string }
  10. variable "env_vars" {
  11. type = map(any)
  12. default = {}
  13. }
  14. variable "buildspec" {
  15. type = string
  16. default = "buildspec.yml"
  17. }
  18. variable "kms_key" {
  19. type = string
  20. default = ""
  21. }
  22. variable "schedule_expression" {
  23. type = string
  24. default = ""
  25. }
  26. variable "image" {
  27. type = string
  28. default = "aws/codebuild/amazonlinux2-x86_64-standard:3.0"
  29. }
  30. variable "privileged_mode" {
  31. type = bool
  32. default = true
  33. }
  34. variable "enable_webhook" {
  35. type = bool
  36. default = false
  37. }
  38. variable "webhook_branch_filter" {
  39. type = string
  40. default = ""
  41. }
  42. variable "secondary_sources" {
  43. type = list(map(any))
  44. default = [{}]
  45. }