Add support for bucket custom_placement_config to project-factory (#3839)

* Add support for bucket custom_placement_config to project-factory

* Copy modules/project-factory/schemas/project.schema.json to fast stages

* Add custom_placement_config (only) to schema markdown

* Update module project.schema.md
This commit is contained in:
Simon Roberts
2026-04-08 16:32:24 +10:00
committed by GitHub
parent 15c7951f97
commit 5e5cfbf736
11 changed files with 42 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ locals {
logging_config = lookup(opts, "logging_config", null)
enable_object_retention = lookup(opts, "enable_object_retention", null)
tag_bindings = lookup(opts, "tag_bindings", {})
custom_placement_config = lookup(opts, "custom_placement_config", null)
}
]
])
@@ -105,4 +106,5 @@ module "buckets" {
logging_config = each.value.logging_config
enable_object_retention = each.value.enable_object_retention
tag_bindings = each.value.tag_bindings
custom_placement_config = each.value.custom_placement_config
}

View File

@@ -1237,6 +1237,12 @@
},
"tag_bindings": {
"$ref": "#/$defs/tag_bindings"
},
"custom_placement_config": {
"type": "array",
"items": {
"type": "string"
}
}
}
},

View File

@@ -346,6 +346,8 @@
- **soft_delete_retention**: *number*
- **enable_object_retention**: *boolean*
- **tag_bindings**: *reference([tag_bindings](#refs-tag_bindings))*
- **custom_placement_config**: *array*
- items: *string*
- **buckets**<a name="refs-buckets"></a>: *object*
<br>*additional properties: false*
- **`^[a-z0-9-]+$`**: *reference([bucket](#refs-bucket))*