docs: add hint on how to create a project within sna (#722)

This commit is contained in:
Mauritz Uphoff 2025-03-18 15:53:51 +01:00 committed by GitHub
parent dadea7a904
commit 637213d718
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 deletions

View file

@ -18,6 +18,7 @@ resource "stackit_resourcemanager_project" "example" {
name = "example-container"
labels = {
"Label 1" = "foo"
// "networkArea" = stackit_network_area.foo.network_area_id
}
owner_email = "john.doe@stackit.cloud"
}
@ -34,10 +35,10 @@ resource "stackit_resourcemanager_project" "example" {
### Optional
- `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}
- `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}. To add a project to a STACKIT Network Area, setting the label `networkArea=<networkAreaID>` is required.
### Read-Only
- `container_id` (String) Project container ID. Globally unique, user-friendly identifier.
- `id` (String) Terraform's internal resource ID. It is structured as "`container_id`".
- `project_id` (String) Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.
- `project_id` (String) Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.