You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* duplicate files (#3046)
* doc: Adds initial structure for module examples cluster_to_advanced_cluster (#3043)
* doc: Adds initial structure for module example cluster_to_advanced_cluster
* chore: fix lint errors
* refactor: directory move
* doc: Initial module_user
* doc: Remove hcl simplification purpose (most likely done only in module_maintainer)
* Update examples/migrate_cluster_to_advanced_cluster/module_maintainer/README.md
Co-authored-by: Leo Antoli <[email protected]>
* address PR comments
---------
Co-authored-by: Leo Antoli <[email protected]>
* duplicate files (#3052)
* doc: Examples for advanced_cluster preview v2 (#3054)
* root readme
* fix example as used region doesn't exist in GCP
* change examples
* undo comment
* doc for backing_provider_name
* doc: Create doc pages for `mongodb_advanced_cluster` schema v2 resource and data sources (#3048)
* add doc references at the beginning of the doc
* examples
* replace replication_specs.#
* leftover
* connection_strings
* Move and other changes
* rename schema to preview
* ds
* fix defaultMaxTimeMS links
* fix typo region_config
* Update docs/data-sources/advanced_clusters (preview v2).md
Co-authored-by: carriecwk <[email protected]>
* Update docs/resources/advanced_cluster.md
Co-authored-by: carriecwk <[email protected]>
* apply feedback
---------
Co-authored-by: carriecwk <[email protected]>
* chore: Follow-up for PR 3054 (#3059)
* null default value
* org id
* doc: Rename env. var. to `MONGODB_ATLAS_PREVIEW_PROVIDER_V2_ADVANCED_CLUSTER` (#3064)
* rename env. var. to MONGODB_ATLAS_PREVIEW_PROVIDER_V2_ADVANCED_CLUSTER
* change example doc
* update links and menu items
* fix links
* change style
* doc: Implements v2 and v3 MongoDB Atlas cluster migration examples (#3050)
* initial v2 & v3 implementations
* Adds `v2` Implementation Changes and Highlights
* doc: Update README with v3 implementation changes and highlights
* doc: Update README and add v1_v2 and v3 variable files for cluster migration examples
* style: fmt
* doc: Fix v3 usage of cluster data source
* feat: Add output for MongoDB connection strings in v1, v2, and v3 examples
* style: fmt
* chore: Enable Advanced Cluster V2 Schema validation in tf-validate script
* fix lint errors
* feat: Add function to check for V2 schema directories in tf-validate script
* refactor: Use approach 1 (file headings) rather than a table
* address PR comments
* docs: Update README files to enhance migration guidance for mongodbatlas_cluster to mongodbatlas_advanced_cluster
* address PR comments
* chore: Update ToC
* Review suggestions
* update var name
* docs: Enhance README to clarify standalone usage and upgrade support for module_maintainer
* fix: Update required_version comment for clarity in versions.tf files
* docs: Add v3_no_plan_changes and step for ensuring no changes when using new `replication_specs_new` variable
* update var name to make tf-validate pass
* fix: Update environment variable for Terraform validation in v2 schema
* docs: Update ToC
* fix: update restore command in tf-validate script to use preview_provider_v2.go
* doc: Adds migration example from `mongodbatlas_cluster` to `mongodbatlas_advanced_cluster` (#3058)
* doc: Adds migration example from `mongodbatlas_cluster` to `mongodbatlas_advanced_cluster`
* rename directory and example
* chore: use a Note to warn about creating a `mongodbatlas_cluster` and more details
* add review suggestions
* support using v2 schema in basic
* doc: Updates guide cluster to advanced_cluster and creates guide advanced_cluster preview provider v2 (#3071)
* new guide
* update docs
* some adjustements
* typos
* feedback
* best practices feedback
* fix identation
* doc: Adds remaining work to migrate_cluster_to_advanced_cluster examples (#3065)
* handle todos
* doc: Fix link in README for replication_specs in advanced cluster migration example
* doc: Enhance variable descriptions in migration examples
* doc: Update descriptions for outputs
* doc: Change regions_config type from set to list in replication_specs variable (otherwise priority order failure)
* doc: Change regions_config type from set to list in replication_specs variable (otherwise priority order failure)
* doc: Applies some feedback for migration guides doc (#3075)
* remove part about state
* add doc about using the env var locally
* doc: Updates table formatting and migration guides (#3076)
* doc: Updates table formatting
* clarify how to migrate
* change order
* move block section down
* apply feedback
* Update docs/guides/cluster-to-advanced-cluster-migration-guide.md
Co-authored-by: Marco Suma <[email protected]>
---------
Co-authored-by: Leo Antoli <[email protected]>
Co-authored-by: Marco Suma <[email protected]>
* fix mongodb_atlas typo
* address PR comments
* doc: Clarify purpose of migration example for Terraform module
* clarify when to use alternative
* own section for env.var.
* change option to use Import
* adjust step
* refactor: Improve formatting and consistency in preview provider v2 examples
* typo dot in deprecated
* Update docs/guides/advanced-cluster-preview-provider-v2.md
Co-authored-by: maastha <[email protected]>
* style: add linebreaks to examples
* chore: Adds Flex GA documentation changes (#3087)
* Update examples/migrate_cluster_to_advanced_cluster/basic/README.md
Co-authored-by: Oriol <[email protected]>
* remove M0 info as it can be seen in Atlas doc
* plural ds description
* change migration guide title
* Update docs/guides/advanced-cluster-preview-provider-v2.md
Co-authored-by: Oriol <[email protected]>
* move output example
* doc: Adds examples for flex clusters in mongodbatlas_advanced_cluster in v2 examples (#3097)
* doc: Missing backported docs & followup (#3098)
* missing docs & followup
* v2 change
* missing changein v2
* Update examples/migrate_cluster_to_advanced_cluster/module_user/README.md
Co-authored-by: John Williams <[email protected]>
* rename Tags to tags
* remove "l" leftover
* typo add blank after dot
* typo
* unify [#]
* uppercase Flex
* adv cluster doc sync with v2
* align data sources
* Add docs suggestions
* apply feedback
* fix incorrect database reference in project_id
* add dot
* more dots added
* Update docs/guides/advanced-cluster-preview-provider-v2.md
Co-authored-by: John Williams <[email protected]>
* bi_connector
* Update docs/guides/advanced-cluster-preview-provider-v2.md
Co-authored-by: John Williams <[email protected]>
* Update docs/guides/advanced-cluster-preview-provider-v2.md
Co-authored-by: John Williams <[email protected]>
* Update docs/guides/advanced-cluster-preview-provider-v2.md
Co-authored-by: John Williams <[email protected]>
* Update docs/guides/cluster-to-advanced-cluster-migration-guide.md
Co-authored-by: John Williams <[email protected]>
* Update docs/guides/cluster-to-advanced-cluster-migration-guide.md
Co-authored-by: John Williams <[email protected]>
* Update docs/guides/cluster-to-advanced-cluster-migration-guide.md
Co-authored-by: John Williams <[email protected]>
* Update docs/guides/cluster-to-advanced-cluster-migration-guide.md
Co-authored-by: John Williams <[email protected]>
* Update docs/guides/cluster-to-advanced-cluster-migration-guide.md
Co-authored-by: John Williams <[email protected]>
* Update docs/guides/cluster-to-advanced-cluster-migration-guide.md
Co-authored-by: John Williams <[email protected]>
* remove "of a specs"
* order list
* change doc and info
* typo
* plural ds link
* update README in examples
* plugin limitations
* set old guides for 1.14.0 and 1.15.0 as they were published more than 1 year ago
* update examples provider version to 1.29
* v2 to 2.0.0
* move "main changes" section to resource doc page
* remove adv_cluster guide and move content to upgrade guide and resource page
* wip
* updates documentation.
* Update README.md file for the basic example.
* Update README.md file for the module example.
* syntax changes.
* fix tflint
* rename filenames from v2 to 2.0.0
* change links v2 to 2.0.0
* fix tflint for migration examples
* typo
* fix order in import process
* add reference update step
* update examples with todo and findings from demo branch `CLOUDP-299313_DO_NOT_DELETE_demo_tpf_adv_cluster_big`
* update tf-validate
* id to cluster_id
* Apply suggestions from code review
Co-authored-by: John Williams <[email protected]>
Co-authored-by: Melissa Plunkett <[email protected]>
* address initial comments.
* add a main README.md file for the examples folder.
* move Terraform Actions doc
* small typo
* use explicit numbering
* change version requirement for v1 of the examples
* Update examples/migrate_cluster_to_advanced_cluster/README.md
Co-authored-by: Oriol <[email protected]>
* Update examples/migrate_cluster_to_advanced_cluster/basic/README.md
Co-authored-by: Oriol <[email protected]>
* add coming soon for plugin
* get plugin alternatives back
* update plugin doc
* change section
* indent coming soon
* same line for coming soon
* Update docs/guides/cluster-to-advanced-cluster-migration-guide.md
Co-authored-by: Marco Suma <[email protected]>
* Update docs/guides/cluster-to-advanced-cluster-migration-guide.md
Co-authored-by: Marco Suma <[email protected]>
* remove refs to cli plugin and fix text for the 'import+remove' approach.
* make some titles shorter.
---------
Co-authored-by: Espen Albert <[email protected]>
Co-authored-by: carriecwk <[email protected]>
Co-authored-by: Marco Suma <[email protected]>
Co-authored-by: Espen Albert <[email protected]>
Co-authored-by: maastha <[email protected]>
Co-authored-by: Oriol <[email protected]>
Co-authored-by: John Williams <[email protected]>
Co-authored-by: Melissa Plunkett <[email protected]>
Copy file name to clipboardExpand all lines: docs/data-sources/cluster.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ data "mongodbatlas_cluster" "test" {
41
41
42
42
## Argument Reference
43
43
44
-
*`project_id` - (Required) The unique ID for the project to create the database user.
44
+
*`project_id` - (Required) The unique ID for the project to create the cluster.
45
45
*`name` - (Required) Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed.
46
46
47
47
## Attributes Reference
@@ -74,7 +74,7 @@ In addition to all arguments above, the following attributes are exported:
74
74
*`backup_enabled` - Legacy Option, Indicates whether Atlas continuous backups are enabled for the cluster.
75
75
*`bi_connector_config` - Indicates BI Connector for Atlas configuration on this cluster. BI Connector for Atlas is only available for M10+ clusters. See [BI Connector](#bi-connector) below for more details.
76
76
*`cluster_type` - Indicates the type of the cluster that you want to modify. You cannot convert a sharded cluster deployment to a replica set deployment.
77
-
*`connection_strings` - Set of connection strings that your applications use to connect to this cluster. More info in [Connection-strings](https://docs.mongodb.com/manual/reference/connection-string/). Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see [Connection String Options](https://docs.atlas.mongodb.com/reference/faq/connection-changes/).
77
+
*`connection_strings` - Set of connection strings that your applications use to connect to this cluster. More information in [Connection-strings](https://docs.mongodb.com/manual/reference/connection-string/). Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see [Connection String Options](https://docs.atlas.mongodb.com/reference/faq/connection-changes/).
78
78
79
79
NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
80
80
@@ -94,7 +94,7 @@ In addition to all arguments above, the following attributes are exported:
94
94
-`connection_strings.private_endpoint.#.srv_connection_string` - Private-endpoint-aware `mongodb+srv://` connection string for this private endpoint.
95
95
-`connection_strings.private_endpoint.#.srv_shard_optimized_connection_string` - Private endpoint-aware connection string optimized for sharded clusters that uses the `mongodb+srv://` protocol to connect to MongoDB Cloud through a private endpoint.
96
96
-`connection_strings.private_endpoint.#.type` - Type of MongoDB process that you connect to with the connection strings. Atlas returns `MONGOD` for replica sets, or `MONGOS` for sharded clusters.
97
-
-`connection_strings.private_endpoint.#.endpoints` - Private endpoint through which you connect to Atlas when you use `connection_strings.private_endpoint[n].connection_string` or `connection_strings.private_endpoint[n].srv_connection_string`
97
+
-`connection_strings.private_endpoint.#.endpoints` - Private endpoint through which you connect to Atlas when you use `connection_strings.private_endpoint[#].connection_string` or `connection_strings.private_endpoint[#].srv_connection_string`
98
98
-`connection_strings.private_endpoint.#.endpoints.#.endpoint_id` - Unique identifier of the private endpoint.
99
99
-`connection_strings.private_endpoint.#.endpoints.#.provider_name` - Cloud provider to which you deployed the private endpoint. Atlas returns `AWS` or `AZURE`.
100
100
-`connection_strings.private_endpoint.#.endpoints.#.region` - Region to which you deployed the private endpoint.
@@ -129,7 +129,7 @@ In addition to all arguments above, the following attributes are exported:
129
129
130
130
*`advanced_configuration` - Get the advanced configuration options. See [Advanced Configuration](#advanced-configuration) below for more details.
131
131
132
-
*`redact_client_log_data` - (Optional) Flag that enables or disables log redaction, see the [manual](https://www.mongodb.com/docs/manual/administration/monitoring/#log-redaction) for more info.
132
+
*`redact_client_log_data` - (Optional) Flag that enables or disables log redaction, see the [manual](https://www.mongodb.com/docs/manual/administration/monitoring/#log-redaction) for more information.
133
133
134
134
### BI Connector
135
135
@@ -160,7 +160,7 @@ Physical location of the region.
160
160
161
161
### Tags
162
162
163
-
Key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster.
163
+
Key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster.
164
164
165
165
*`key` - Constant that defines the set of the tag.
166
166
*`value` - Variable that belongs to the set of the tag.
@@ -220,7 +220,7 @@ Contains a key-value pair that tags that the cluster was created by a Terraform
220
220
*`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 4.4 clusters default to [1](https://docs.mongodb.com/manual/reference/write-concern/).
221
221
*`fail_index_key_too_long` - 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.
222
222
*`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.
223
-
*`minimum_enabled_tls_protocol` - Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections.Valid values are:
223
+
*`minimum_enabled_tls_protocol` - Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections.Valid values are:
Copy file name to clipboardExpand all lines: docs/data-sources/clusters.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ In addition to all arguments above, the following attributes are exported:
76
76
*`backup_enabled` - Legacy Option, Indicates whether Atlas continuous backups are enabled for the cluster.
77
77
*`bi_connector_config` - Indicates BI Connector for Atlas configuration on this cluster. BI Connector for Atlas is only available for M10+ clusters. See [BI Connector](#bi-connector) below for more details.
78
78
*`cluster_type` - Indicates the type of the cluster that you want to modify. You cannot convert a sharded cluster deployment to a replica set deployment.
79
-
*`connection_strings` - Set of connection strings that your applications use to connect to this cluster. More info in [Connection-strings](https://docs.mongodb.com/manual/reference/connection-string/). Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see [Connection String Options](https://docs.atlas.mongodb.com/reference/faq/connection-changes/). NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
79
+
*`connection_strings` - Set of connection strings that your applications use to connect to this cluster. More information in [Connection-strings](https://docs.mongodb.com/manual/reference/connection-string/). Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see [Connection String Options](https://docs.atlas.mongodb.com/reference/faq/connection-changes/). NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
80
80
-`connection_strings.standard` - Public mongodb:// connection string for this cluster.
81
81
-`connection_strings.standard_srv` - Public mongodb+srv:// connection string for this cluster. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS. Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don’t need to append the seed list or change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn’t, use connectionStrings.standard.
82
82
-`connection_strings.private` - [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
@@ -85,7 +85,7 @@ In addition to all arguments above, the following attributes are exported:
85
85
-`connection_strings.private_endpoint.#.srv_connection_string` - Private-endpoint-aware `mongodb+srv://` connection string for this private endpoint.
86
86
-`connection_strings.private_endpoint.#.srv_shard_optimized_connection_string` - Private endpoint-aware connection string optimized for sharded clusters that uses the `mongodb+srv://` protocol to connect to MongoDB Cloud through a private endpoint.
87
87
-`connection_strings.private_endpoint.#.type` - Type of MongoDB process that you connect to with the connection strings. Atlas returns `MONGOD` for replica sets, or `MONGOS` for sharded clusters.
88
-
-`connection_strings.private_endpoint.#.endpoints` - Private endpoint through which you connect to Atlas when you use `connection_strings.private_endpoint[n].connection_string` or `connection_strings.private_endpoint[n].srv_connection_string`
88
+
-`connection_strings.private_endpoint.#.endpoints` - Private endpoint through which you connect to Atlas when you use `connection_strings.private_endpoint[#].connection_string` or `connection_strings.private_endpoint[#].srv_connection_string`
89
89
-`connection_strings.private_endpoint.#.endpoints.#.endpoint_id` - Unique identifier of the private endpoint.
90
90
-`connection_strings.private_endpoint.#.endpoints.#.provider_name` - Cloud provider to which you deployed the private endpoint. Atlas returns `AWS` or `AZURE`.
91
91
-`connection_strings.private_endpoint.#.endpoints.#.region` - Region to which you deployed the private endpoint.
@@ -120,7 +120,7 @@ In addition to all arguments above, the following attributes are exported:
120
120
121
121
*`advanced_configuration` - Get the advanced configuration options. See [Advanced Configuration](#advanced-configuration) below for more details.
122
122
123
-
*`redact_client_log_data` - (Optional) Flag that enables or disables log redaction, see the [manual](https://www.mongodb.com/docs/manual/administration/monitoring/#log-redaction) for more info.
123
+
*`redact_client_log_data` - (Optional) Flag that enables or disables log redaction, see the [manual](https://www.mongodb.com/docs/manual/administration/monitoring/#log-redaction) for more information.
124
124
125
125
### BI Connector
126
126
@@ -208,7 +208,7 @@ Contains a key-value pair that tags that the cluster was created by a Terraform
208
208
*`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 4.4 clusters default to [1](https://docs.mongodb.com/manual/reference/write-concern/).
209
209
*`fail_index_key_too_long` - 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.
210
210
*`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.
211
-
*`minimum_enabled_tls_protocol` - Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections.Valid values are:
211
+
*`minimum_enabled_tls_protocol` - Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections.Valid values are:
0 commit comments