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,43 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "stackit_scf_organization Data Source - stackit"
subcategory: ""
description: |-
STACKIT Cloud Foundry organization datasource schema. Must have a region specified in the provider configuration.
---
# stackit_scf_organization (Data Source)
STACKIT Cloud Foundry organization datasource schema. Must have a `region` specified in the provider configuration.
## Example Usage
```terraform
data "stackit_scf_organization" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
org_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
```
<!-- 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
### Optional
- `region` (String) The resource region. If not defined, the provider region is used
### 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`".
- `name` (String) The name of the organization
- `platform_id` (String) The ID of the platform associated with the organization
- `quota_id` (String) The ID of the quota associated with the organization
- `status` (String) The status of the organization (e.g., deleting, delete_failed)
- `suspended` (Boolean) A boolean indicating whether the organization is suspended
- `updated_at` (String) The time when the organization was last updated

View file

@ -0,0 +1,41 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "stackit_scf_organization_manager Data Source - stackit"
subcategory: ""
description: |-
STACKIT Cloud Foundry organization manager datasource schema.
---
# stackit_scf_organization_manager (Data Source)
STACKIT Cloud Foundry organization manager datasource schema.
## Example Usage
```terraform
data "stackit_scf_organization_manager" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
org_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
```
<!-- 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`".
- `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

View file

@ -0,0 +1,40 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "stackit_scf_platform Data Source - stackit"
subcategory: ""
description: |-
STACKIT Cloud Foundry Platform datasource schema.
---
# stackit_scf_platform (Data Source)
STACKIT Cloud Foundry Platform datasource schema.
## Example Usage
```terraform
data "stackit_scf_platform" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
platform_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
```
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `platform_id` (String) The unique id of the platform
- `project_id` (String) The ID of the project associated with the platform
### Optional
- `region` (String) The region where the platform is located. If not defined, the provider region is used
### Read-Only
- `api_url` (String) The CF API Url of the platform
- `console_url` (String) The Stratos URL of the platform
- `display_name` (String) The name of the platform
- `id` (String) Terraform's internal resource ID, structured as "`project_id`,`region`,`platform_id`".
- `system_id` (String) The ID of the platform System