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:
@@ -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
|
||||
}
|
||||
|
||||
@@ -1237,6 +1237,12 @@
|
||||
},
|
||||
"tag_bindings": {
|
||||
"$ref": "#/$defs/tag_bindings"
|
||||
},
|
||||
"custom_placement_config": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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))*
|
||||
|
||||
Reference in New Issue
Block a user