Added missing parameters in trigger (#3519)
This commit is contained in:
@@ -540,7 +540,7 @@ module "cb_connection" {
|
||||
| [iam_bindings](variables-iam.tf#L23) | Authoritative IAM bindings in {KEY => {role = ROLE, members = [], condition = {}}}. Keys are arbitrary. | <code title="map(object({ members = list(string) role = string condition = optional(object({ expression = string title = string description = optional(string) })) }))">map(object({…}))</code> | | <code>{}</code> |
|
||||
| [iam_bindings_additive](variables-iam.tf#L38) | Individual additive IAM bindings. Keys are arbitrary. | <code title="map(object({ member = string role = string condition = optional(object({ expression = string title = string description = optional(string) })) }))">map(object({…}))</code> | | <code>{}</code> |
|
||||
| [iam_by_principals](variables-iam.tf#L53) | Authoritative IAM binding in {PRINCIPAL => [ROLES]} format. Principals need to be statically defined to avoid cycle errors. Merged internally with the `iam` variable. | <code>map(list(string))</code> | | <code>{}</code> |
|
||||
| [repositories](variables.tf#L118) | Repositories. | <code title="map(object({ remote_uri = string annotations = optional(map(string), {}) triggers = optional(map(object({ approval_required = optional(bool, false) description = optional(string) pull_request = optional(object({ branch = optional(string) invert_regex = optional(string) comment_control = optional(string) })) push = optional(object({ branch = optional(string) invert_regex = optional(string) tag = optional(string) })) disabled = optional(bool, false) filename = string include_build_logs = optional(string) substitutions = optional(map(string), {}) service_account = optional(string) tags = optional(map(string)) })), {}) }))">map(object({…}))</code> | | <code>{}</code> |
|
||||
| [repositories](variables.tf#L118) | Repositories. | <code title="map(object({ remote_uri = string annotations = optional(map(string), {}) triggers = optional(map(object({ approval_required = optional(bool, false) description = optional(string) pull_request = optional(object({ branch = optional(string) invert_regex = optional(string) comment_control = optional(string) })) push = optional(object({ branch = optional(string) invert_regex = optional(string) tag = optional(string) })) disabled = optional(bool, false) filename = string include_build_logs = optional(string) substitutions = optional(map(string), {}) service_account = optional(string) tags = optional(list(string), []) })), {}) }))">map(object({…}))</code> | | <code>{}</code> |
|
||||
|
||||
## Outputs
|
||||
|
||||
|
||||
@@ -165,6 +165,9 @@ resource "google_cloudbuild_trigger" "triggers" {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
filename = each.value.filename
|
||||
}
|
||||
include_build_logs = each.value.include_build_logs
|
||||
tags = each.value.tags
|
||||
substitutions = each.value.substitutions
|
||||
service_account = each.value.service_account
|
||||
filename = each.value.filename
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ variable "repositories" {
|
||||
include_build_logs = optional(string)
|
||||
substitutions = optional(map(string), {})
|
||||
service_account = optional(string)
|
||||
tags = optional(map(string))
|
||||
tags = optional(list(string), [])
|
||||
})), {})
|
||||
}))
|
||||
default = {}
|
||||
|
||||
@@ -40,7 +40,7 @@ values:
|
||||
service_account: null
|
||||
source_to_build: []
|
||||
substitutions: null
|
||||
tags: null
|
||||
tags: []
|
||||
timeouts: null
|
||||
trigger_template: []
|
||||
webhook_config: []
|
||||
|
||||
@@ -40,7 +40,7 @@ values:
|
||||
service_account: null
|
||||
source_to_build: []
|
||||
substitutions: null
|
||||
tags: null
|
||||
tags: []
|
||||
timeouts: null
|
||||
trigger_template: []
|
||||
webhook_config: []
|
||||
|
||||
@@ -39,7 +39,7 @@ values:
|
||||
service_account: null
|
||||
source_to_build: []
|
||||
substitutions: null
|
||||
tags: null
|
||||
tags: []
|
||||
timeouts: null
|
||||
trigger_template: []
|
||||
webhook_config: []
|
||||
|
||||
@@ -39,7 +39,7 @@ values:
|
||||
service_account: null
|
||||
source_to_build: []
|
||||
substitutions: null
|
||||
tags: null
|
||||
tags: []
|
||||
timeouts: null
|
||||
trigger_template: []
|
||||
webhook_config: []
|
||||
|
||||
@@ -39,7 +39,7 @@ values:
|
||||
service_account: null
|
||||
source_to_build: []
|
||||
substitutions: null
|
||||
tags: null
|
||||
tags: []
|
||||
timeouts: null
|
||||
trigger_template: []
|
||||
webhook_config: []
|
||||
|
||||
Reference in New Issue
Block a user