Allow simple project exclusions in project factory module (#3929)
* docs(cloud-function-v2): remove redundant vpc_connector block in examples * project factory exclusions for projects * fix example test --------- Co-authored-by: Luca Prete <preteluca@gmail.com>
This commit is contained in:
committed by
GitHub
parent
4cf46f2dd9
commit
9540b8d1ae
@@ -168,12 +168,15 @@ variable "data_overrides" {
|
||||
}
|
||||
|
||||
variable "factories_config" {
|
||||
description = "Path to folder with YAML resource description data files."
|
||||
description = "Path to folder with YAML resource description data files. Exclusions match the start of file paths, relative to their containing folder."
|
||||
type = object({
|
||||
basepath = string
|
||||
budgets = optional(object({
|
||||
billing_account = optional(string)
|
||||
}), {})
|
||||
exclusions = optional(object({
|
||||
projects = optional(list(string), [])
|
||||
}), {})
|
||||
paths = optional(object({
|
||||
budgets = optional(string, "budgets")
|
||||
folders = optional(string, "folders")
|
||||
|
||||
Reference in New Issue
Block a user