Skip to content

Commit 3036569

Browse files
authored
Remove IOPS and adjust parameter description (#443)
Remove IOPS in examples as it's not needed and creating confusion. Also adjust parameter description to better express current state.
1 parent 0b58372 commit 3036569

11 files changed

+3
-24
lines changed

website/docs/d/cloud_provider_snapshot_backup_policy.html.markdown

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ resource "mongodbatlas_cluster" "my_cluster" {
2525
provider_region_name = "EU_CENTRAL_1"
2626
provider_instance_size_name = "M10"
2727
provider_backup_enabled = true // enable cloud backup snapshots
28-
provider_disk_iops = 100
2928
}
3029
3130
resource "mongodbatlas_cloud_provider_snapshot_backup_policy" "test" {

website/docs/d/cluster.html.markdown

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ resource "mongodbatlas_cluster" "test" {
3838
3939
//Provider Settings "block"
4040
provider_name = "AWS"
41-
provider_disk_iops = 300
42-
provider_volume_type = "STANDARD"
4341
provider_instance_size_name = "M40"
4442
}
4543

website/docs/d/clusters.html.markdown

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ resource "mongodbatlas_cluster" "test" {
3838
3939
//Provider Settings "block"
4040
provider_name = "AWS"
41-
provider_disk_iops = 300
42-
provider_volume_type = "STANDARD"
4341
provider_instance_size_name = "M40"
4442
}
4543

website/docs/d/global_cluster_config.html.markdown

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ description: |-
2626
2727
//Provider Settings "block"
2828
provider_name = "AWS"
29-
provider_disk_iops = 240
3029
provider_instance_size_name = "M30"
3130
3231
replication_specs {

website/docs/d/ldap_verify.html.markdown

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ resource "mongodbatlas_cluster" "test" {
3131
provider_region_name = "US_EAST_2"
3232
provider_instance_size_name = "M10"
3333
provider_backup_enabled = true //enable cloud provider snapshots
34-
provider_disk_iops = 100
3534
provider_encrypt_ebs_volume = false
3635
}
3736

website/docs/r/cloud_provider_snapshot.html.markdown

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ On-demand snapshots happen immediately, unlike scheduled snapshots which occur a
2626
provider_region_name = "EU_WEST_2"
2727
provider_instance_size_name = "M10"
2828
provider_backup_enabled = true // enable cloud backup snapshots
29-
provider_disk_iops = 3000
3029
}
3130
3231
resource "mongodbatlas_cloud_provider_snapshot" "test" {

website/docs/r/cloud_provider_snapshot_backup_policy.html.markdown

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ resource "mongodbatlas_cluster" "my_cluster" {
2828
provider_region_name = "EU_CENTRAL_1"
2929
provider_instance_size_name = "M10"
3030
provider_backup_enabled = true // must be enabled in order to use cloud_provider_snapshot_backup_policy resource
31-
provider_disk_iops = 3000
3231
}
3332
3433
resource "mongodbatlas_cloud_provider_snapshot_backup_policy" "test" {
@@ -94,7 +93,6 @@ resource "mongodbatlas_cluster" "my_cluster" {
9493
provider_region_name = "EU_CENTRAL_1"
9594
provider_instance_size_name = "M10"
9695
provider_backup_enabled = true // must be enabled in order to use cloud_provider_snapshot_backup_policy resource
97-
provider_disk_iops = 3000
9896
}
9997
10098
resource "mongodbatlas_cloud_provider_snapshot_backup_policy" "test" {
@@ -162,7 +160,6 @@ resource "mongodbatlas_cluster" "my_cluster" {
162160
provider_region_name = "EU_CENTRAL_1"
163161
provider_instance_size_name = "M10"
164162
provider_backup_enabled = true // must be enabled in order to use cloud_provider_snapshot_backup_policy resource
165-
provider_disk_iops = 3000
166163
}
167164
168165
resource "mongodbatlas_cloud_provider_snapshot_backup_policy" "test" {

website/docs/r/cloud_provider_snapshot_restore_job.html.markdown

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ description: |-
3434
provider_region_name = "EU_WEST_2"
3535
provider_instance_size_name = "M10"
3636
provider_backup_enabled = true // enable cloud backup snapshots
37-
provider_disk_iops = 3000
3837
}
3938
4039
resource "mongodbatlas_cloud_provider_snapshot" "test" {
@@ -70,7 +69,6 @@ description: |-
7069
provider_region_name = "EU_WEST_2"
7170
provider_instance_size_name = "M10"
7271
provider_backup_enabled = true // enable cloud backup snapshots
73-
provider_disk_iops = 3000
7472
}
7573
7674
resource "mongodbatlas_cloud_provider_snapshot" "test" {

website/docs/r/cluster.html.markdown

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ resource "mongodbatlas_cluster" "cluster-test" {
4545
//Provider Settings "block"
4646
provider_name = "AWS"
4747
disk_size_gb = 100
48-
provider_disk_iops ops = 300
49-
provider_volume_type = "STANDARD"
5048
provider_instance_size_name = "M40"
5149
}
5250
```
@@ -118,8 +116,6 @@ resource "mongodbatlas_cluster" "cluster-test" {
118116
119117
//Provider Settings "block"
120118
provider_name = "AWS"
121-
provider_disk_iops = 3000
122-
provider_volume_type = "STANDARD"
123119
provider_instance_size_name = "M10"
124120
125121
replication_specs {
@@ -159,8 +155,6 @@ resource "mongodbatlas_cluster" "cluster-test" {
159155
160156
//Provider Settings "block"
161157
provider_name = "AWS"
162-
provider_disk_iops = 3000
163-
provider_volume_type = "STANDARD"
164158
provider_instance_size_name = "M30"
165159
166160
replication_specs {
@@ -303,12 +297,13 @@ But in order to explicitly change `provider_instance_size_name` comment the `lif
303297
- GCP - Google Cloud Platform
304298
- AZURE - Microsoft Azure
305299

306-
* `provider_disk_iops` - (Optional) The maximum input/output operations per second (IOPS) the system can perform. The possible values depend on the selected `provider_instance_size_name` and `disk_size_gb`.
300+
* `provider_disk_iops` - (Optional - AWS Only) The maximum input/output operations per second (IOPS) the system can perform. The possible values depend on the selected `provider_instance_size_name` and `disk_size_gb`. This setting requires that `provider_instance_size_name` to be M30 or greater and cannot be used with clusters with local NVMe SSDs. The default value for `provider_disk_iops` is the same as the cluster tier's Standard IOPS value, as viewable in the Atlas console. It is used in cases where a higher number of IOPS is needed and possible. If a value is submitted that is lower or equal to the default IOPS value for the cluster tier Atlas ignores the requested value and uses the default. More details available under the providerSettings.diskIOPS parameter: [MongoDB API Clusters](https://docs.atlas.mongodb.com/reference/api/clusters-create-one/)
301+
307302
* `provider_disk_type_name` - (Optional - Azure Only) Azure disk type of the server’s root volume. If omitted, Atlas uses the default disk type for the selected providerSettings.instanceSizeName. Example disk types and associated storage sizes: P4 - 32GB, P6 - 64GB, P10 - 128GB, P15 - 256GB, P20 - 512GB, P30 - 1024GB, P40 - 2048GB, P50 - 4095GB. More information and the most update to date disk types/storage sizes can be located at https://docs.atlas.mongodb.com/reference/api/clusters-create-one/.
308303
* `provider_encrypt_ebs_volume` - **(Deprecated) The Flag is always true.** Flag that indicates whether the Amazon EBS encryption feature encrypts the host's root volume for both data at rest within the volume and for data moving between the volume and the cluster. Note: This setting is always enabled for clusters with local NVMe SSDs. **Atlas encrypts all cluster storage and snapshot volumes, securing all cluster data on disk: a concept known as encryption at rest, by default.**.
309304
* `provider_region_name` - (Optional) Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. Requires the **Atlas region name**, see the reference list for [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
310305
Do not specify this field when creating a multi-region cluster using the replicationSpec document or a Global Cluster with the replicationSpecs array.
311-
* `provider_volume_type` - (AWS - Optional) The type of the volume. The possible values are: `STANDARD` and `PROVISIONED`. `PROVISIONED` required if setting IOPS higher than the default instance IOPS.
306+
* `provider_volume_type` - (AWS - Optional) The type of the volume. The possible values are: `STANDARD` and `PROVISIONED`. `PROVISIONED` is ONLY required if setting IOPS higher than the default instance IOPS.
312307
* `replication_factor` - (Deprecated) Number of replica set members. Each member keeps a copy of your databases, providing high availability and data redundancy. The possible values are 3, 5, or 7. The default value is 3.
313308
* `provider_auto_scaling_compute_min_instance_size` - (Optional) Minimum instance size to which your cluster can automatically scale (e.g., M10). Required if `autoScaling.compute.scaleDownEnabled` is `true`.
314309
* `provider_auto_scaling_compute_max_instance_size` - (Optional) Maximum instance size to which your cluster can automatically scale (e.g., M40). Required if `autoScaling.compute.enabled` is `true`.

website/docs/r/global_cluster_config.html.markdown

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ description: |-
2929
3030
//Provider Settings "block"
3131
provider_name = "AWS"
32-
provider_disk_iops = 240
3332
provider_instance_size_name = "M30"
3433
3534
replication_specs {
@@ -88,7 +87,6 @@ resource "mongodbatlas_cluster" "cluster-test" {
8887
//Provider Settings "block"
8988
provider_name = "AWS"
9089
disk_size_gb = 100
91-
provider_disk_iops = 3000
9290
provider_instance_size_name = "M40"
9391
provider_region_name = "US_EAST_1"
9492
}

0 commit comments

Comments
 (0)