12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- variable "tags" {
- description = "Tags to add to the resource (in addition to global standard tags)"
- type = map(any)
- default = {}
- }
- variable "name" { type = string }
- variable "repository_name" { type = string }
- variable "github_clone_url" { type = string }
- variable "vpc_id" { type = string }
- variable "private_subnets" { type = list(any) }
- variable "public_subnets" { type = list(any) }
- variable "service_role" { type = string }
- variable "xdr-s3-binaries-policy" { type = string }
- variable "kms_key" {
- type = string
- default = ""
- }
- variable "source_version" {
- description = "Tag or branch for the git repository."
- type = string
- default = "main"
- }
- variable "badge_enabled" {
- type = string
- default = "false"
- }
- variable "buildspec" {
- type = string
- default = "buildspec.yml"
- }
- variable "schedule_expression" {
- type = string
- default = ""
- }
- variable "image" {
- type = string
- default = "aws/codebuild/amazonlinux2-x86_64-standard:3.0"
- }
- variable "privileged_mode" {
- type = bool
- default = true
- }
- variable "enable_webhook" {
- type = bool
- default = false
- }
- variable "env_vars" {
- type = map(any)
- default = {}
- }
- variable "webhook_filter_pattern" {
- type = string
- default = "^refs/heads/main$"
- }
|