Skip to content
Open
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
3 changes: 1 addition & 2 deletions docs/data-sources/advanced_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,8 @@ Key-value pairs that categorize the cluster. Each key and value has a maximum le
* `default_write_concern` - [Default level of acknowledgment requested from MongoDB for write operations](https://docs.mongodb.com/manual/reference/write-concern/) set for this cluster. MongoDB 6.0 clusters default to [majority](https://docs.mongodb.com/manual/reference/write-concern/).
* `javascript_enabled` - When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
* `minimum_enabled_tls_protocol` - Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections. Valid values are:
- TLS1_0
- TLS1_1
- TLS1_2
- TLS1_3
* `no_table_scan` - When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.
* `oplog_size_mb` - The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
* `oplog_min_retention_hours` - Minimum retention window for cluster's oplog expressed in hours. A value of null indicates that the cluster uses the default minimum oplog window that MongoDB Cloud calculates.
Expand Down
3 changes: 1 addition & 2 deletions docs/data-sources/advanced_clusters.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,8 @@ Key-value pairs that categorize the cluster. Each key and value has a maximum le
* `default_write_concern` - [Default level of acknowledgment requested from MongoDB for write operations](https://docs.mongodb.com/manual/reference/write-concern/) set for this cluster. MongoDB 6.0 clusters default to [majority](https://docs.mongodb.com/manual/reference/write-concern/).
* `javascript_enabled` - When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
* `minimum_enabled_tls_protocol` - Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections. Valid values are:
- TLS1_0
- TLS1_1
- TLS1_2
- TLS1_3
* `no_table_scan` - When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.
* `oplog_size_mb` - The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
* `oplog_min_retention_hours` - Minimum retention window for cluster's oplog expressed in hours. A value of null indicates that the cluster uses the default minimum oplog window that MongoDB Cloud calculates.
Expand Down
3 changes: 1 addition & 2 deletions docs/data-sources/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,8 @@ Contains a key-value pair that tags that the cluster was created by a Terraform
* `fail_index_key_too_long` - **(DEPRECATED)** When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them.
* `javascript_enabled` - When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
* `minimum_enabled_tls_protocol` - Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections. Valid values are:
- TLS1_0
- TLS1_1
- TLS1_2
- TLS1_3
* `no_table_scan` - When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.
* `oplog_size_mb` - The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
* `oplog_min_retention_hours` - Minimum retention window for cluster's oplog expressed in hours. A value of null indicates that the cluster uses the default minimum oplog window that MongoDB Cloud calculates.
Expand Down
3 changes: 1 addition & 2 deletions docs/data-sources/clusters.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,8 @@ Contains a key-value pair that tags that the cluster was created by a Terraform
* `fail_index_key_too_long` - **(DEPRECATED)** When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them.
* `javascript_enabled` - When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
* `minimum_enabled_tls_protocol` - Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections. Valid values are:
- TLS1_0
- TLS1_1
- TLS1_2
- TLS1_3
* `no_table_scan` - When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.
* `oplog_size_mb` - The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
* `oplog_min_retention_hours` - Minimum retention window for cluster's oplog expressed in hours. A value of null indicates that the cluster uses the default minimum oplog window that MongoDB Cloud calculates.
Expand Down
3 changes: 1 addition & 2 deletions docs/resources/advanced_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -556,9 +556,8 @@ Include **desired options** within advanced_configuration:
* `default_write_concern` - (Optional) [Default level of acknowledgment requested from MongoDB for write operations](https://docs.mongodb.com/manual/reference/write-concern/) set for this cluster. MongoDB 6.0 clusters default to [majority](https://docs.mongodb.com/manual/reference/write-concern/).
* `javascript_enabled` - (Optional) When true (default), the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
* `minimum_enabled_tls_protocol` - (Optional) Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections. Valid values are:
- TLS1_0
- TLS1_1
- TLS1_2
- TLS1_3
* `no_table_scan` - (Optional) When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.
* `oplog_size_mb` - (Optional) The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
* `oplog_min_retention_hours` - (Optional) Minimum retention window for cluster's oplog expressed in hours. A value of null indicates that the cluster uses the default minimum oplog window that MongoDB Cloud calculates.
Expand Down
3 changes: 1 addition & 2 deletions docs/resources/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -482,9 +482,8 @@ Include **desired options** within advanced_configuration:
* `fail_index_key_too_long` - **(DEPRECATED)** (Optional) When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them.
* `javascript_enabled` - (Optional) When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
* `minimum_enabled_tls_protocol` - (Optional) Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections. Valid values are:
- TLS1_0
- TLS1_1
- TLS1_2
- TLS1_3
* `no_table_scan` - (Optional) When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.
* `oplog_size_mb` - (Optional) The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
* `oplog_min_retention_hours` - (Optional) Minimum retention window for cluster's oplog expressed in hours. A value of null indicates that the cluster uses the default minimum oplog window that MongoDB Cloud calculates.
Expand Down
4 changes: 2 additions & 2 deletions internal/testutil/acc/advanced_cluster_mig_TPF_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func TestConvertAdvancedClusterToTPF(t *testing.T) {
advanced_configuration {
fail_index_key_too_long = false
javascript_enabled = true
minimum_enabled_tls_protocol = "TLS1_1"
minimum_enabled_tls_protocol = "TLS1_2"
no_table_scan = false
oplog_size_mb = 1000
sample_size_bi_connector = 110
Expand Down Expand Up @@ -218,7 +218,7 @@ func TestConvertAdvancedClusterToTPF(t *testing.T) {
change_stream_options_pre_and_post_images_expire_after_seconds = 100
fail_index_key_too_long = false
javascript_enabled = true
minimum_enabled_tls_protocol = "TLS1_1"
minimum_enabled_tls_protocol = "TLS1_2"
no_table_scan = false
oplog_size_mb = 1000
sample_refresh_interval_bi_connector = 310
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1488,9 +1488,8 @@ components:
minimumEnabledTlsProtocol:
description: Minimum Transport Layer Security (TLS) version that the cluster accepts for incoming connections. Clusters using TLS 1.0 or 1.1 should consider setting TLS 1.2 as the minimum TLS protocol version.
enum:
- TLS1_0
- TLS1_1
- TLS1_2
- TLS1_3
externalDocs:
description: This option corresponds to the `net.ssl.disabledProtocols` `mongod` configuration file option.
url: https://docs.mongodb.com/upcoming/reference/configuration-options/#mongodb-setting-net.ssl.disabledProtocols
Expand Down Expand Up @@ -6135,9 +6134,8 @@ components:
minimumEnabledTlsProtocol:
description: Minimum Transport Layer Security (TLS) version that the cluster accepts for incoming connections. Clusters using TLS 1.0 or 1.1 should consider setting TLS 1.2 as the minimum TLS protocol version.
enum:
- TLS1_0
- TLS1_1
- TLS1_2
- TLS1_3
externalDocs:
description: This option corresponds to the `net.ssl.disabledProtocols` `mongod` configuration file option.
url: https://docs.mongodb.com/upcoming/reference/configuration-options/#mongodb-setting-net.ssl.disabledProtocols
Expand Down Expand Up @@ -6253,9 +6251,8 @@ components:
minimumEnabledTlsProtocol:
description: Minimum Transport Layer Security (TLS) version that the cluster accepts for incoming connections. Clusters using TLS 1.0 or 1.1 should consider setting TLS 1.2 as the minimum TLS protocol version.
enum:
- TLS1_0
- TLS1_1
- TLS1_2
- TLS1_3
externalDocs:
description: This option corresponds to the `net.ssl.disabledProtocols` `mongod` configuration file option.
url: https://docs.mongodb.com/upcoming/reference/configuration-options/#mongodb-setting-net.ssl.disabledProtocols
Expand Down
9 changes: 3 additions & 6 deletions tools/codegen/atlasapispec/raw-multi-version-api-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1986,9 +1986,8 @@ components:
minimumEnabledTlsProtocol:
description: Minimum Transport Layer Security (TLS) version that the cluster accepts for incoming connections. Clusters using TLS 1.0 or 1.1 should consider setting TLS 1.2 as the minimum TLS protocol version.
enum:
- TLS1_0
- TLS1_1
- TLS1_2
- TLS1_3
externalDocs:
description: This option corresponds to the `net.ssl.disabledProtocols` `mongod` configuration file option.
url: https://docs.mongodb.com/upcoming/reference/configuration-options/#mongodb-setting-net.ssl.disabledProtocols
Expand Down Expand Up @@ -9439,9 +9438,8 @@ components:
minimumEnabledTlsProtocol:
description: Minimum Transport Layer Security (TLS) version that the cluster accepts for incoming connections. Clusters using TLS 1.0 or 1.1 should consider setting TLS 1.2 as the minimum TLS protocol version.
enum:
- TLS1_0
- TLS1_1
- TLS1_2
- TLS1_3
externalDocs:
description: This option corresponds to the `net.ssl.disabledProtocols` `mongod` configuration file option.
url: https://docs.mongodb.com/upcoming/reference/configuration-options/#mongodb-setting-net.ssl.disabledProtocols
Expand Down Expand Up @@ -9557,9 +9555,8 @@ components:
minimumEnabledTlsProtocol:
description: Minimum Transport Layer Security (TLS) version that the cluster accepts for incoming connections. Clusters using TLS 1.0 or 1.1 should consider setting TLS 1.2 as the minimum TLS protocol version.
enum:
- TLS1_0
- TLS1_1
- TLS1_2
- TLS1_3
externalDocs:
description: This option corresponds to the `net.ssl.disabledProtocols` `mongod` configuration file option.
url: https://docs.mongodb.com/upcoming/reference/configuration-options/#mongodb-setting-net.ssl.disabledProtocols
Expand Down