terraform-provider-stackitp.../docs/resources/scf_organization.md
Fabian Spottog a8e874699f
feat(scf): Add STACKIT Cloud Foundry (#991)
* onboard STACKIT Cloud Foundry resources/datasource
2025-10-08 09:42:33 +00:00

1.9 KiB

page_title subcategory description
stackit_scf_organization Resource - stackit 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

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

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