planetscale_organization (Data Source)

June 1, 2026 ยท View on GitHub

Organization DataSource

Example Usage

data "planetscale_organization" "my_organization" {
  organization = "...my_organization..."
}

Schema

Required

  • organization (String) Organization name slug from list_organizations. Example: acme.

Read-Only

  • billing_email (String) The billing email of the organization
  • created_at (String) When the organization was created
  • database_count (Number) The number of databases in the organization
  • features (Map of String) Features that can be enabled on the organization
  • has_card (Boolean) Whether or not the organization has a payment method on file
  • has_past_due_invoices (Boolean) Whether or not the organization has past due billing invoices.
  • id (String) The ID for the organization
  • idp_managed_roles (Boolean) Whether or not the IdP provider is be responsible for managing roles in PlanetScale
  • invoice_budget_amount (String) The expected monthly budget for the organization
  • keyspace_shard_limit (Number) The keyspace shard limit for the organization
  • managed_tenancy (Boolean) Whether or not the organization has managed tenancy enabled
  • name (String) The name of the organization
  • payment_info_required (Boolean) Whether or not the organization requires payment information
  • plan (String) The billing plan of the organization
  • single_tenancy (Boolean) Whether or not the organization has single tenancy enabled
  • sso (Boolean) Whether or not SSO is enabled on the organization
  • sso_directory (Boolean) Whether or not the organization uses an SSO directory
  • sso_portal_url (String) The URL of the organization's SSO portal.
  • updated_at (String) When the organization was last updated
  • valid_billing_info (Boolean) Whether or not the organization's billing information is valid