feat(scf): Add STACKIT Cloud Foundry (#991)

* onboard STACKIT Cloud Foundry resources/datasource
This commit is contained in:
Fabian Spottog 2025-10-08 11:42:33 +02:00 committed by GitHub
parent fcc7a99488
commit a8e874699f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 3700 additions and 0 deletions

View file

@ -0,0 +1,57 @@
---
# 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

View file

@ -0,0 +1,49 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "stackit_scf_organization_manager Resource - stackit"
subcategory: ""
description: |-
STACKIT Cloud Foundry organization manager resource schema.
---
# stackit_scf_organization_manager (Resource)
STACKIT Cloud Foundry organization manager resource schema.
## Example Usage
```terraform
resource "stackit_scf_organization_manager" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
org_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
# Only use the import statement, if you want to import an existing scf org user
# The password field is still null after import and must be entered manually in the state.
import {
to = stackit_scf_organization_manager.import-example
id = "${var.project_id},${var.region},${var.org_id},${var.user_id}"
}
```
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `org_id` (String) The ID of the Cloud Foundry Organization
- `project_id` (String) The ID of the project associated with the organization of the organization manager
### Optional
- `region` (String) The region where the organization of the organization manager is located. If not defined, the provider region is used
### Read-Only
- `created_at` (String) The time when the organization manager was created
- `id` (String) Terraform's internal resource ID, structured as "`project_id`,`region`,`org_id`,`user_id`".
- `password` (String, Sensitive) An auto-generated password
- `platform_id` (String) The ID of the platform associated with the organization of the organization manager
- `updated_at` (String) The time when the organization manager was last updated
- `user_id` (String) The ID of the organization manager user
- `username` (String) An auto-generated organization manager user name