terraform-provider-stackitp.../docs/resources/resourcemanager_project.md
2023-09-07 11:34:45 +01:00

1.4 KiB

page_title subcategory description
stackit_resourcemanager_project Resource - stackit Resource Manager project resource schema.

stackit_resourcemanager_project (Resource)

Resource Manager project resource schema.

Example Usage

resource "stackit_resourcemanager_project" "example" {
  project_id          = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  parent_container_id = "example-parent-container-abc123"
  name                = "example-container"
  labels = {
    "Label 1" = "foo"
  }
  owner_email = "aa@bb.ccc"
}

Schema

Required

  • name (String) Project name.
  • owner_email (String) Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.
  • parent_container_id (String) Parent container ID

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}

Read-Only

  • container_id (String) Project container ID. Globally unique, user-friendly identifier.
  • id (String) Terraform's internal unique identifier of the project, equivalent to the container ID