vars.tf 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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 "standard_tags" { type = map(any) }
  7. variable "environment" { type = string }
  8. variable "aws_region" { type = string }
  9. variable "aws_partition" { type = string }
  10. variable "aws_partition_alias" { type = string }
  11. variable "aws_account_id" { type = string }
  12. variable "name" { type = string }
  13. variable "repository_name" { type = string }
  14. variable "github_clone_url" { type = string }
  15. variable "vpc_id" { type = string }
  16. variable "private_subnets" { type = list(any) }
  17. variable "public_subnets" { type = list(any) }
  18. variable "service_role" { type = string }
  19. variable "common_services_account" { type = string }
  20. variable "binaries_key" { type = string }
  21. variable "xdr-s3-binaries-policy" { type = string }
  22. variable "kms_key" {
  23. type = string
  24. default = ""
  25. }
  26. variable "source_version" {
  27. description = "Tag or branch for the git repository."
  28. type = string
  29. default = "main"
  30. }
  31. variable "badge_enabled" {
  32. type = string
  33. default = "false"
  34. }
  35. variable "buildspec" {
  36. type = string
  37. default = "buildspec.yml"
  38. }
  39. variable "schedule_expression" {
  40. type = string
  41. default = ""
  42. }
  43. variable "image" {
  44. type = string
  45. default = "aws/codebuild/amazonlinux2-x86_64-standard:3.0"
  46. }
  47. variable "privileged_mode" {
  48. type = bool
  49. default = true
  50. }
  51. variable "enable_webhook" {
  52. type = bool
  53. default = false
  54. }
  55. variable "env_vars" {
  56. type = map(any)
  57. default = {}
  58. }
  59. variable "webhook_filter_pattern" {
  60. type = string
  61. default = "^refs/heads/main$"
  62. }