Skip to content

Commit f6303a4

Browse files
authored
Merge pull request #53 from ClickHouse/update-plan-migrations
update openapi and terraform sections in plan migration
2 parents b13465d + 0d72fb4 commit f6303a4

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

docs/en/cloud/manage/jan2025_faq/plan_migrations.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,20 +71,28 @@ Migrations of Development and Production services to the new pricing tiers may t
7171

7272
API access patterns will be different.
7373

74-
Users that use our OpenAPI to create new services will be required to remove the `tier` field and specify the `numReplicas` one in the service creation POST request.
74+
Users that use our OpenAPI to create new services will be required to remove the `tier` field in the service creation `POST` request.
7575

7676
The `tier` field has been removed from the service object as there is no more distinction between Development and Production services.
7777
This will affect the objects returned by the `POST`, `GET`, and `PATCH` service requests. Therefore, any code that consumes these APIs may need to be adjusted to handle these changes.
7878

79+
The number of replicas each service will be created with defaults to 3 for the Scale and Enterprise tiers, while it defaults to 1 for the Basic tier.
80+
For the Scale and the Enterprise tiers it is possible to adjust it by passing a `numReplicas` field in the service creation request.
81+
The value of the `numReplicas` field must be between 2 and 20 for the first service in a warehouse. Services that are created in an existing warehouse can have a number of replicas as low as 1.
82+
7983
### What changes should the users make if using the existing Terraform provider for automation?
8084

8185
Once an organization has been migrated to one of the new plans, users will be required to use our Terraform provider version 2.0.0 or above.
8286

83-
The new Terraform provider is required to handle changes in the `tie` attribute of the service.
87+
The new Terraform provider is required to handle changes in the `tier` attribute of the service.
8488

8589
After the migration, the `tier` field is no longer accepted, and references to it should be removed.
8690

87-
Users will also be asked to specify the `num_replicas` field as a property of the service resource.
91+
Users will also be able to specify the `num_replicas` field as a property of the service resource.
92+
93+
The number of replicas each service will be created with defaults to 3 for the Scale and Enterprise tiers, while it defaults to 1 for the Basic tier.
94+
For the Scale and the Enterprise tiers, it is possible to adjust it by passing a `numReplicas` field in the service creation request.
95+
The value of the `num_replicas` filed must be between 2 and 20 for the first service in a warehouse. Services that are created in an existing warehouse can have a number of replicas as low as 1.
8896

8997
### Will users have to make any changes to the database access?
9098

0 commit comments

Comments
 (0)