* Add projectId to resource manager project, fix value conversion error * Support both uuid and container id, update acceptance tests * Update docs * Fix unit tests * Adapt acc test names
1.5 KiB
1.5 KiB
| page_title | subcategory | description |
|---|---|---|
| stackit_resourcemanager_project Data Source - stackit | Resource Manager project data source schema. To identify the project, you need to provider either projectid or containerid. If you provide both, project_id will be used. |
stackit_resourcemanager_project (Data Source)
Resource Manager project data source schema. To identify the project, you need to provider either project_id or container_id. If you provide both, project_id will be used.
Example Usage
data "stackit_resourcemanager_project" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
container_id = "example-container-abc123"
}
Schema
Optional
container_id(String) Project container ID. Globally unique, user-friendly identifier.project_id(String) Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.
Read-Only
id(String) Terraform's internal data source. ID. It is structured as "container_id".labels(Map of String) Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}name(String) Project name.parent_container_id(String) Parent resource identifier. Both container ID (user-friendly) and UUID are supported