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:
Ludovico Magnocavallo
2026-05-04 15:20:57 +02:00
committed by GitHub
parent 4cf46f2dd9
commit 9540b8d1ae
3 changed files with 24 additions and 3 deletions

View File

@@ -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")