@pulumi/mongodbatlas 4.6.0-alpha.1774890654 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/advancedCluster.d.ts +4 -4
- package/advancedCluster.js +4 -4
- package/package.json +2 -2
- package/projectServiceAccountAccessListEntry.d.ts +2 -3
- package/projectServiceAccountAccessListEntry.js +2 -3
- package/projectServiceAccountAccessListEntry.js.map +1 -1
- package/serviceAccountAccessListEntry.d.ts +2 -3
- package/serviceAccountAccessListEntry.js +2 -3
- package/serviceAccountAccessListEntry.js.map +1 -1
- package/types/input.d.ts +9 -3
- package/types/output.d.ts +11 -5
package/advancedCluster.d.ts
CHANGED
|
@@ -4,15 +4,13 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* `mongodbatlas.AdvancedCluster` provides an Advanced Cluster resource. The resource lets you create, edit and delete advanced clusters.
|
|
6
6
|
*
|
|
7
|
-
* We recommend all
|
|
7
|
+
* We recommend all MongoDB Atlas Terraform users start with the `Official MongoDB Atlas Cluster Module`. This module simplifies cluster deployment and implements MongoDB Atlas best practices by default.
|
|
8
8
|
*
|
|
9
9
|
* > **IMPORTANT:** If you are upgrading to our Terraform Provider v2.0.0 or later from v1.x.x, you must update your existing `mongodbatlas.AdvancedCluster` resource configuration according to this guide.
|
|
10
10
|
*
|
|
11
|
-
* > **IMPORTANT:** Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
12
|
-
*
|
|
13
11
|
* > **NOTE:** This resource supports creating Flex clusters, upgrading M0 clusters to Flex, and upgrading Flex clusters to Dedicated. When creating a Flex cluster, you must set the `replication_specs[#].region_configs[#].priority` value to 7.
|
|
14
12
|
*
|
|
15
|
-
* > **NOTE:** When you modify cluster configurations, your pulumi preview output might include `(known after apply)` markers for attributes you
|
|
13
|
+
* > **NOTE:** When you modify cluster configurations, your pulumi preview output might include `(known after apply)` markers for attributes you didn't modify. This is expected behavior. For more information, see the "known after apply" verbosity section below.
|
|
16
14
|
*
|
|
17
15
|
* > **NOTE:** This resource creates a network container for each provider/region combination specified in the advanced cluster configuration. Each network container can be referenced via its computed `replication_specs[#]container_id` attribute.
|
|
18
16
|
*
|
|
@@ -528,6 +526,8 @@ import * as outputs from "./types/output";
|
|
|
528
526
|
* 1. Set `computeEnabled = false` and `diskGbEnabled = false` in the `autoScaling` block, update `instanceSize`, `diskSizeGb`, or `diskIops` to your desired values, and apply.
|
|
529
527
|
* 2. Re-enable auto-scaling by setting `computeEnabled` and/or `diskGbEnabled` back to `true` and apply.
|
|
530
528
|
*
|
|
529
|
+
* > **NOTE:** If `advanced_configuration.oplog_min_retention_hours` is non-zero on the server, set it to `0` and apply before step 1 disables `diskGbEnabled`. Otherwise the API can return `OPLOG_MIN_RETENTION_HOURS_NO_DISK_AUTO_SCALING` (HTTP 400). See the `diskGbEnabled` argument description.
|
|
530
|
+
*
|
|
531
531
|
* This workflow allows you to set specific baseline values from which auto-scaling will resume dynamic adjustments based on workload.
|
|
532
532
|
*
|
|
533
533
|
* ### Terraform Modules
|
package/advancedCluster.js
CHANGED
|
@@ -8,15 +8,13 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* `mongodbatlas.AdvancedCluster` provides an Advanced Cluster resource. The resource lets you create, edit and delete advanced clusters.
|
|
10
10
|
*
|
|
11
|
-
* We recommend all
|
|
11
|
+
* We recommend all MongoDB Atlas Terraform users start with the `Official MongoDB Atlas Cluster Module`. This module simplifies cluster deployment and implements MongoDB Atlas best practices by default.
|
|
12
12
|
*
|
|
13
13
|
* > **IMPORTANT:** If you are upgrading to our Terraform Provider v2.0.0 or later from v1.x.x, you must update your existing `mongodbatlas.AdvancedCluster` resource configuration according to this guide.
|
|
14
14
|
*
|
|
15
|
-
* > **IMPORTANT:** Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
16
|
-
*
|
|
17
15
|
* > **NOTE:** This resource supports creating Flex clusters, upgrading M0 clusters to Flex, and upgrading Flex clusters to Dedicated. When creating a Flex cluster, you must set the `replication_specs[#].region_configs[#].priority` value to 7.
|
|
18
16
|
*
|
|
19
|
-
* > **NOTE:** When you modify cluster configurations, your pulumi preview output might include `(known after apply)` markers for attributes you
|
|
17
|
+
* > **NOTE:** When you modify cluster configurations, your pulumi preview output might include `(known after apply)` markers for attributes you didn't modify. This is expected behavior. For more information, see the "known after apply" verbosity section below.
|
|
20
18
|
*
|
|
21
19
|
* > **NOTE:** This resource creates a network container for each provider/region combination specified in the advanced cluster configuration. Each network container can be referenced via its computed `replication_specs[#]container_id` attribute.
|
|
22
20
|
*
|
|
@@ -532,6 +530,8 @@ const utilities = require("./utilities");
|
|
|
532
530
|
* 1. Set `computeEnabled = false` and `diskGbEnabled = false` in the `autoScaling` block, update `instanceSize`, `diskSizeGb`, or `diskIops` to your desired values, and apply.
|
|
533
531
|
* 2. Re-enable auto-scaling by setting `computeEnabled` and/or `diskGbEnabled` back to `true` and apply.
|
|
534
532
|
*
|
|
533
|
+
* > **NOTE:** If `advanced_configuration.oplog_min_retention_hours` is non-zero on the server, set it to `0` and apply before step 1 disables `diskGbEnabled`. Otherwise the API can return `OPLOG_MIN_RETENTION_HOURS_NO_DISK_AUTO_SCALING` (HTTP 400). See the `diskGbEnabled` argument description.
|
|
534
|
+
*
|
|
535
535
|
* This workflow allows you to set specific baseline values from which auto-scaling will resume dynamic adjustments based on workload.
|
|
536
536
|
*
|
|
537
537
|
* ### Terraform Modules
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/mongodbatlas",
|
|
3
|
-
"version": "4.6.0
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing mongodbatlas cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "mongodbatlas",
|
|
26
|
-
"version": "4.6.0
|
|
26
|
+
"version": "4.6.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -50,10 +50,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
50
50
|
*
|
|
51
51
|
* ## Import
|
|
52
52
|
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
53
|
+
* Import the Project Service Account Access List Entry resource by using the Project ID, Client ID, and CIDR block or IP address in the format `PROJECT_ID/CLIENT_ID/CIDR_BLOCK` or `PROJECT_ID/CLIENT_ID/IP_ADDRESS`, e.g.
|
|
55
54
|
* ```sh
|
|
56
|
-
* $ pulumi import mongodbatlas:index/projectServiceAccountAccessListEntry:ProjectServiceAccountAccessListEntry test
|
|
55
|
+
* $ pulumi import mongodbatlas:index/projectServiceAccountAccessListEntry:ProjectServiceAccountAccessListEntry test 6117ac2fe2a3d04ed27a987v/mdb_sa_id_1234567890abcdef12345678/10.242.88.0/21
|
|
57
56
|
* ```
|
|
58
57
|
*
|
|
59
58
|
* For more information, see [Add Access List Entries for One Project Service Account](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-creategroupserviceaccountaccesslist) in the MongoDB Atlas API documentation.
|
|
@@ -56,10 +56,9 @@ const utilities = require("./utilities");
|
|
|
56
56
|
*
|
|
57
57
|
* ## Import
|
|
58
58
|
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
59
|
+
* Import the Project Service Account Access List Entry resource by using the Project ID, Client ID, and CIDR block or IP address in the format `PROJECT_ID/CLIENT_ID/CIDR_BLOCK` or `PROJECT_ID/CLIENT_ID/IP_ADDRESS`, e.g.
|
|
61
60
|
* ```sh
|
|
62
|
-
* $ pulumi import mongodbatlas:index/projectServiceAccountAccessListEntry:ProjectServiceAccountAccessListEntry test
|
|
61
|
+
* $ pulumi import mongodbatlas:index/projectServiceAccountAccessListEntry:ProjectServiceAccountAccessListEntry test 6117ac2fe2a3d04ed27a987v/mdb_sa_id_1234567890abcdef12345678/10.242.88.0/21
|
|
63
62
|
* ```
|
|
64
63
|
*
|
|
65
64
|
* For more information, see [Add Access List Entries for One Project Service Account](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-creategroupserviceaccountaccesslist) in the MongoDB Atlas API documentation.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectServiceAccountAccessListEntry.js","sourceRoot":"","sources":["../projectServiceAccountAccessListEntry.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectServiceAccountAccessListEntry.js","sourceRoot":"","sources":["../projectServiceAccountAccessListEntry.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,MAAa,oCAAqC,SAAQ,MAAM,CAAC,cAAc;IAC3E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiD,EAAE,IAAmC;QAC/I,OAAO,IAAI,oCAAoC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3F,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,oCAAoC,CAAC,YAAY,CAAC;IACrF,CAAC;IA2CD,YAAY,IAAY,EAAE,WAAkG,EAAE,IAAmC;QAC7J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IA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D,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oCAAoC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzF,CAAC;;AArGL,oFAsGC;AAxFG,gBAAgB;AACO,iDAAY,GAAG,8FAA8F,CAAC"}
|
|
@@ -50,10 +50,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
50
50
|
*
|
|
51
51
|
* ## Import
|
|
52
52
|
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
53
|
+
* Import the Service Account Access List Entry resource by using the Organization ID, Client ID, and CIDR block or IP address in the format `ORG_ID/CLIENT_ID/CIDR_BLOCK` or `ORG_ID/CLIENT_ID/IP_ADDRESS`, e.g.
|
|
55
54
|
* ```sh
|
|
56
|
-
* $ pulumi import mongodbatlas:index/serviceAccountAccessListEntry:ServiceAccountAccessListEntry test 5d0f1f74cf09a29120e123cd
|
|
55
|
+
* $ pulumi import mongodbatlas:index/serviceAccountAccessListEntry:ServiceAccountAccessListEntry test 5d0f1f74cf09a29120e123cd/mdb_sa_id_1234567890abcdef12345678/10.242.88.0/21
|
|
57
56
|
* ```
|
|
58
57
|
*
|
|
59
58
|
* For more information, see [Add Access List Entries for One Organization Service Account](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-createorgserviceaccountaccesslist) in the MongoDB Atlas API documentation.
|
|
@@ -56,10 +56,9 @@ const utilities = require("./utilities");
|
|
|
56
56
|
*
|
|
57
57
|
* ## Import
|
|
58
58
|
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
59
|
+
* Import the Service Account Access List Entry resource by using the Organization ID, Client ID, and CIDR block or IP address in the format `ORG_ID/CLIENT_ID/CIDR_BLOCK` or `ORG_ID/CLIENT_ID/IP_ADDRESS`, e.g.
|
|
61
60
|
* ```sh
|
|
62
|
-
* $ pulumi import mongodbatlas:index/serviceAccountAccessListEntry:ServiceAccountAccessListEntry test 5d0f1f74cf09a29120e123cd
|
|
61
|
+
* $ pulumi import mongodbatlas:index/serviceAccountAccessListEntry:ServiceAccountAccessListEntry test 5d0f1f74cf09a29120e123cd/mdb_sa_id_1234567890abcdef12345678/10.242.88.0/21
|
|
63
62
|
* ```
|
|
64
63
|
*
|
|
65
64
|
* For more information, see [Add Access List Entries for One Organization Service Account](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-createorgserviceaccountaccesslist) in the MongoDB Atlas API documentation.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceAccountAccessListEntry.js","sourceRoot":"","sources":["../serviceAccountAccessListEntry.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"serviceAccountAccessListEntry.js","sourceRoot":"","sources":["../serviceAccountAccessListEntry.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,MAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IACpE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0C,EAAE,IAAmC;QACxI,OAAO,IAAI,6BAA6B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpF,CAAC;IAKD;;;OAGG;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,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;;AArGL,sEAsGC;AAxFG,gBAAgB;AACO,0CAAY,GAAG,gFAAgF,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export interface AdvancedClusterAdvancedConfiguration {
|
|
|
34
34
|
*/
|
|
35
35
|
noTableScan?: pulumi.Input<boolean>;
|
|
36
36
|
/**
|
|
37
|
-
* Minimum retention window for cluster's oplog expressed in hours.
|
|
37
|
+
* Minimum retention window for cluster's oplog expressed in hours. Once this attribute has been set to a non-null value, removing it from your configuration or setting it to `null` will retain the last applied value rather than reverting to the default value.
|
|
38
38
|
*/
|
|
39
39
|
oplogMinRetentionHours?: pulumi.Input<number>;
|
|
40
40
|
/**
|
|
@@ -243,7 +243,10 @@ export interface AdvancedClusterReplicationSpecRegionConfigAnalyticsAutoScaling
|
|
|
243
243
|
*/
|
|
244
244
|
computeScaleDownEnabled?: pulumi.Input<boolean>;
|
|
245
245
|
/**
|
|
246
|
-
* Flag that indicates whether this cluster enables disk auto-scaling. This parameter defaults to false
|
|
246
|
+
* Flag that indicates whether this cluster enables disk auto-scaling. The maximum memory allowed for the selected cluster tier and the oplog size can limit storage auto-scaling. This parameter defaults to `false`.
|
|
247
|
+
* - To set `diskGbEnabled` to `false`, Atlas requires `advanced_configuration.oplog_min_retention_hours` to be `0` on the server. If it is still non-zero, the API responds with `OPLOG_MIN_RETENTION_HOURS_NO_DISK_AUTO_SCALING` (HTTP 400).
|
|
248
|
+
* - Cluster updates are applied before process arguments, so setting `advanced_configuration.oplog_min_retention_hours` to `0` in the same `apply` as disabling disk auto-scaling does not prevent the error.
|
|
249
|
+
* - Workaround: Run `apply` twice. First set `advanced_configuration.oplog_min_retention_hours` to `0` and apply. Then set `diskGbEnabled` to `false` and apply again.
|
|
247
250
|
*/
|
|
248
251
|
diskGbEnabled?: pulumi.Input<boolean>;
|
|
249
252
|
}
|
|
@@ -303,7 +306,10 @@ export interface AdvancedClusterReplicationSpecRegionConfigAutoScaling {
|
|
|
303
306
|
*/
|
|
304
307
|
computeScaleDownEnabled?: pulumi.Input<boolean>;
|
|
305
308
|
/**
|
|
306
|
-
* Flag that indicates whether this cluster enables disk auto-scaling. This parameter defaults to false
|
|
309
|
+
* Flag that indicates whether this cluster enables disk auto-scaling. The maximum memory allowed for the selected cluster tier and the oplog size can limit storage auto-scaling. This parameter defaults to `false`.
|
|
310
|
+
* - To set `diskGbEnabled` to `false`, Atlas requires `advanced_configuration.oplog_min_retention_hours` to be `0` on the server. If it is still non-zero, the API responds with `OPLOG_MIN_RETENTION_HOURS_NO_DISK_AUTO_SCALING` (HTTP 400).
|
|
311
|
+
* - Cluster updates are applied before process arguments, so setting `advanced_configuration.oplog_min_retention_hours` to `0` in the same `apply` as disabling disk auto-scaling does not prevent the error.
|
|
312
|
+
* - Workaround: Run `apply` twice. First set `advanced_configuration.oplog_min_retention_hours` to `0` and apply. Then set `diskGbEnabled` to `false` and apply again.
|
|
307
313
|
*/
|
|
308
314
|
diskGbEnabled?: pulumi.Input<boolean>;
|
|
309
315
|
}
|
package/types/output.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export interface AdvancedClusterAdvancedConfiguration {
|
|
|
33
33
|
*/
|
|
34
34
|
noTableScan: boolean;
|
|
35
35
|
/**
|
|
36
|
-
* Minimum retention window for cluster's oplog expressed in hours.
|
|
36
|
+
* Minimum retention window for cluster's oplog expressed in hours. Once this attribute has been set to a non-null value, removing it from your configuration or setting it to `null` will retain the last applied value rather than reverting to the default value.
|
|
37
37
|
*/
|
|
38
38
|
oplogMinRetentionHours: number;
|
|
39
39
|
/**
|
|
@@ -242,7 +242,10 @@ export interface AdvancedClusterReplicationSpecRegionConfigAnalyticsAutoScaling
|
|
|
242
242
|
*/
|
|
243
243
|
computeScaleDownEnabled: boolean;
|
|
244
244
|
/**
|
|
245
|
-
* Flag that indicates whether this cluster enables disk auto-scaling. This parameter defaults to false
|
|
245
|
+
* Flag that indicates whether this cluster enables disk auto-scaling. The maximum memory allowed for the selected cluster tier and the oplog size can limit storage auto-scaling. This parameter defaults to `false`.
|
|
246
|
+
* - To set `diskGbEnabled` to `false`, Atlas requires `advanced_configuration.oplog_min_retention_hours` to be `0` on the server. If it is still non-zero, the API responds with `OPLOG_MIN_RETENTION_HOURS_NO_DISK_AUTO_SCALING` (HTTP 400).
|
|
247
|
+
* - Cluster updates are applied before process arguments, so setting `advanced_configuration.oplog_min_retention_hours` to `0` in the same `apply` as disabling disk auto-scaling does not prevent the error.
|
|
248
|
+
* - Workaround: Run `apply` twice. First set `advanced_configuration.oplog_min_retention_hours` to `0` and apply. Then set `diskGbEnabled` to `false` and apply again.
|
|
246
249
|
*/
|
|
247
250
|
diskGbEnabled: boolean;
|
|
248
251
|
}
|
|
@@ -302,7 +305,10 @@ export interface AdvancedClusterReplicationSpecRegionConfigAutoScaling {
|
|
|
302
305
|
*/
|
|
303
306
|
computeScaleDownEnabled: boolean;
|
|
304
307
|
/**
|
|
305
|
-
* Flag that indicates whether this cluster enables disk auto-scaling. This parameter defaults to false
|
|
308
|
+
* Flag that indicates whether this cluster enables disk auto-scaling. The maximum memory allowed for the selected cluster tier and the oplog size can limit storage auto-scaling. This parameter defaults to `false`.
|
|
309
|
+
* - To set `diskGbEnabled` to `false`, Atlas requires `advanced_configuration.oplog_min_retention_hours` to be `0` on the server. If it is still non-zero, the API responds with `OPLOG_MIN_RETENTION_HOURS_NO_DISK_AUTO_SCALING` (HTTP 400).
|
|
310
|
+
* - Cluster updates are applied before process arguments, so setting `advanced_configuration.oplog_min_retention_hours` to `0` in the same `apply` as disabling disk auto-scaling does not prevent the error.
|
|
311
|
+
* - Workaround: Run `apply` twice. First set `advanced_configuration.oplog_min_retention_hours` to `0` and apply. Then set `diskGbEnabled` to `false` and apply again.
|
|
306
312
|
*/
|
|
307
313
|
diskGbEnabled: boolean;
|
|
308
314
|
}
|
|
@@ -1690,7 +1696,7 @@ export interface GetAdvancedClusterAdvancedConfiguration {
|
|
|
1690
1696
|
*/
|
|
1691
1697
|
noTableScan: boolean;
|
|
1692
1698
|
/**
|
|
1693
|
-
* Minimum retention window for cluster's oplog expressed in hours.
|
|
1699
|
+
* Minimum retention window for cluster's oplog expressed in hours.
|
|
1694
1700
|
*/
|
|
1695
1701
|
oplogMinRetentionHours: number;
|
|
1696
1702
|
/**
|
|
@@ -2222,7 +2228,7 @@ export interface GetAdvancedClustersResultAdvancedConfiguration {
|
|
|
2222
2228
|
*/
|
|
2223
2229
|
noTableScan: boolean;
|
|
2224
2230
|
/**
|
|
2225
|
-
* Minimum retention window for cluster's oplog expressed in hours.
|
|
2231
|
+
* Minimum retention window for cluster's oplog expressed in hours.
|
|
2226
2232
|
*/
|
|
2227
2233
|
oplogMinRetentionHours: number;
|
|
2228
2234
|
/**
|