Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions docs/guides/multi-organization-support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
page_title: "Multi-Organization Support"
description: |-
Managing services across multiple SkySQL organizations
---

# Multi-Organization Support

Version 3.2.0+ supports managing services across multiple organizations using the `org_id` parameter.

## Usage

### Single Organization (Default)

Omit `org_id` to use your API key's default organization:

```hcl
resource "skysql_service" "my_service" {
name = "my-database"
service_type = "transactional"
topology = "standalone"
cloud_provider = "aws"
region = "us-east-1"
size = "sky-2x8"
storage = 100
ssl_enabled = true
}
```

### Multiple Organizations

Specify `org_id` for each service to manage across different organizations:

```hcl
resource "skysql_service" "prod_db" {
org_id = "org-12345-production"
name = "prod-database"
service_type = "transactional"
topology = "standalone"
cloud_provider = "aws"
region = "us-east-1"
size = "sky-4x16"
storage = 500
ssl_enabled = true
}
resource "skysql_service" "dev_db" {
org_id = "org-67890-development"
name = "dev-database"
service_type = "transactional"
topology = "standalone"
cloud_provider = "gcp"
region = "us-central1"
size = "sky-2x8"
storage = 100
ssl_enabled = true
}
```

## Important Notes

- **Changing `org_id` destroys and recreates the service**
- Your API key must have access to all specified organizations
- The parameter is optional - existing configurations continue to work
64 changes: 64 additions & 0 deletions templates/guides/multi-organization-support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
page_title: "Multi-Organization Support"
description: |-
Managing services across multiple SkySQL organizations
---

# Multi-Organization Support

Version 3.2.0+ supports managing services across multiple organizations using the `org_id` parameter.

## Usage

### Single Organization (Default)

Omit `org_id` to use your API key's default organization:

```hcl
resource "skysql_service" "my_service" {
name = "my-database"
service_type = "transactional"
topology = "standalone"
cloud_provider = "aws"
region = "us-east-1"
size = "sky-2x8"
storage = 100
ssl_enabled = true
}
```

### Multiple Organizations

Specify `org_id` for each service to manage across different organizations:

```hcl
resource "skysql_service" "prod_db" {
org_id = "org-12345-production"
name = "prod-database"
service_type = "transactional"
topology = "standalone"
cloud_provider = "aws"
region = "us-east-1"
size = "sky-4x16"
storage = 500
ssl_enabled = true
}
resource "skysql_service" "dev_db" {
org_id = "org-67890-development"
name = "dev-database"
service_type = "transactional"
topology = "standalone"
cloud_provider = "gcp"
region = "us-central1"
size = "sky-2x8"
storage = 100
ssl_enabled = true
}
```

## Important Notes

- **Changing `org_id` destroys and recreates the service**
- Your API key must have access to all specified organizations
- The parameter is optional - existing configurations continue to work
Loading