vars.tf 1.2 KB

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