File tree Expand file tree Collapse file tree 2 files changed +126
-0
lines changed Expand file tree Collapse file tree 2 files changed +126
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ page_title : " Multi-Organization Support"
3+ description : |-
4+ Managing services across multiple SkySQL organizations
5+ ---
6+
7+ # Multi-Organization Support
8+
9+ Version 3.2.0+ supports managing services across multiple organizations using the ` org_id ` parameter.
10+
11+ ## Usage
12+
13+ ### Single Organization (Default)
14+
15+ Omit ` org_id ` to use your default organization:
16+
17+ ``` hcl
18+ resource "skysql_service" "my_service" {
19+ name = "my-database"
20+ service_type = "transactional"
21+ topology = "standalone"
22+ cloud_provider = "aws"
23+ region = "us-east-1"
24+ size = "sky-2x8"
25+ storage = 100
26+ ssl_enabled = true
27+ }
28+ ```
29+
30+ ### Multiple Organizations
31+
32+ Specify ` org_id ` for each service to manage across different organizations:
33+
34+ ``` hcl
35+ resource "skysql_service" "prod_db" {
36+ org_id = "org-12345-production"
37+ name = "prod-database"
38+ service_type = "transactional"
39+ topology = "standalone"
40+ cloud_provider = "aws"
41+ region = "us-east-1"
42+ size = "sky-4x16"
43+ storage = 500
44+ ssl_enabled = true
45+ }
46+
47+ resource "skysql_service" "dev_db" {
48+ org_id = "org-67890-development"
49+ name = "dev-database"
50+ service_type = "transactional"
51+ topology = "standalone"
52+ cloud_provider = "gcp"
53+ region = "us-central1"
54+ size = "sky-2x8"
55+ storage = 100
56+ ssl_enabled = true
57+ }
58+ ```
59+
60+ ## Important Notes
61+
62+ - ** Changing ` org_id ` destroys and recreates the service**
63+ - The parameter is optional - existing configurations continue to work
Original file line number Diff line number Diff line change 1+ ---
2+ page_title : " Multi-Organization Support"
3+ description : |-
4+ Managing services across multiple SkySQL organizations
5+ ---
6+
7+ # Multi-Organization Support
8+
9+ Version 3.2.0+ supports managing services across multiple organizations using the ` org_id ` parameter.
10+
11+ ## Usage
12+
13+ ### Single Organization (Default)
14+
15+ Omit ` org_id ` to use your default organization:
16+
17+ ``` hcl
18+ resource "skysql_service" "my_service" {
19+ name = "my-database"
20+ service_type = "transactional"
21+ topology = "standalone"
22+ cloud_provider = "aws"
23+ region = "us-east-1"
24+ size = "sky-2x8"
25+ storage = 100
26+ ssl_enabled = true
27+ }
28+ ```
29+
30+ ### Multiple Organizations
31+
32+ Specify ` org_id ` for each service to manage across different organizations:
33+
34+ ``` hcl
35+ resource "skysql_service" "prod_db" {
36+ org_id = "org-12345-production"
37+ name = "prod-database"
38+ service_type = "transactional"
39+ topology = "standalone"
40+ cloud_provider = "aws"
41+ region = "us-east-1"
42+ size = "sky-4x16"
43+ storage = 500
44+ ssl_enabled = true
45+ }
46+
47+ resource "skysql_service" "dev_db" {
48+ org_id = "org-67890-development"
49+ name = "dev-database"
50+ service_type = "transactional"
51+ topology = "standalone"
52+ cloud_provider = "gcp"
53+ region = "us-central1"
54+ size = "sky-2x8"
55+ storage = 100
56+ ssl_enabled = true
57+ }
58+ ```
59+
60+ ## Important Notes
61+
62+ - ** Changing ` org_id ` destroys and recreates the service**
63+ - The parameter is optional - existing configurations continue to work
You can’t perform that action at this time.
0 commit comments