57 lines
1.9 KiB
Markdown
57 lines
1.9 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "stackit_scf_organization Resource - stackit"
|
|
subcategory: ""
|
|
description: |-
|
|
STACKIT Cloud Foundry organization resource schema. Must have a region specified in the provider configuration.
|
|
---
|
|
|
|
# stackit_scf_organization (Resource)
|
|
|
|
STACKIT Cloud Foundry organization resource schema. Must have a `region` specified in the provider configuration.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
resource "stackit_scf_organization" "example" {
|
|
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
name = "example"
|
|
}
|
|
|
|
resource "stackit_scf_organization" "example" {
|
|
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
name = "example"
|
|
platform_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
quota_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
suspended = false
|
|
}
|
|
|
|
# Only use the import statement, if you want to import an existing scf organization
|
|
import {
|
|
to = stackit_scf_organization.import-example
|
|
id = "${var.project_id},${var.region},${var.org_id}"
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `name` (String) The name of the organization
|
|
- `project_id` (String) The ID of the project associated with the organization
|
|
|
|
### Optional
|
|
|
|
- `platform_id` (String) The ID of the platform associated with the organization
|
|
- `quota_id` (String) The ID of the quota associated with the organization
|
|
- `region` (String) The resource region. If not defined, the provider region is used
|
|
- `suspended` (Boolean) A boolean indicating whether the organization is suspended
|
|
|
|
### Read-Only
|
|
|
|
- `created_at` (String) The time when the organization was created
|
|
- `id` (String) Terraform's internal resource ID, structured as "`project_id`,`region`,`org_id`".
|
|
- `org_id` (String) The ID of the Cloud Foundry Organization
|
|
- `status` (String) The status of the organization (e.g., deleting, delete_failed)
|
|
- `updated_at` (String) The time when the organization was last updated
|