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
*`project_id` - (Required) The unique ID for the project to configure auditing.
27
-
*`audit_filter` - Indicates whether the auditing system captures successful authentication attempts for audit filters using the "atype" : "authCheck" auditing event. For more information, see auditAuthorizationSuccess
28
-
*`audit_authorization_success` - JSON-formatted audit filter used by the project
29
-
*`enabled` - Denotes whether or not the project associated with the {project_id} has database auditing enabled.
27
+
*`audit_authorization_success` - Indicates whether the auditing system captures successful authentication attempts for audit filters using the "atype" : "authCheck" auditing event. For more information, see [auditAuthorizationSuccess](https://docs.mongodb.com/manual/reference/parameters/#param.auditAuthorizationSuccess). **Warning! Enabling Audit authorization successes can severely impact cluster performance. Enable this option with caution.**
28
+
*`audit_filter` - JSON-formatted audit filter. For complete documentation on custom auditing filters, see [Configure Audit Filters](https://docs.mongodb.com/manual/tutorial/configure-audit-filters/).
29
+
*`enabled` - Denotes whether or not the project associated with the {project_id} has database auditing enabled. Defaults to false.
30
30
31
31
~> **NOTE:** Auditing created by API Keys must belong to an existing organization.
Copy file name to clipboardExpand all lines: website/docs/r/cluster.html.markdown
+29-23Lines changed: 29 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,8 @@ description: |-
15
15
-> **NOTE:** A network container is created for a cluster to reside in if one does not yet exist in the project. To use this automatically created container with another resource, such as peering, the `container_id` is exported after creation.
16
16
17
17
~> **IMPORTANT:**
18
-
<br> • Free tier cluster creation (M0) is not supported via API or by this Provider.
19
-
<br> • Shared tier clusters (M2, M5) cannot be upgraded to higher tiers via API or by this Provider. WARNING! If you attempt to upgrade from an existing shared tier cluster that you manage with this Provider to a dedicated cluster (M10+) Terraform will see it as a request to destroy the shared tier cluster and as a request to create a dedicated tier cluster, i.e. Terraform will not see it as a request to upgrade. If you accept the plan in this case the shared tier cluster would be destroyed and you would lose the data on that cluster. Do not attempt to upgrade from the shared to dedicated tier via this Provider, it is not supported!
18
+
<br> • Free tier cluster creation (M0) is supported.
19
+
<br> • Shared tier clusters (M0, M2, M5) cannot be upgraded to higher tiers via API or by this Provider. WARNING! If you attempt to upgrade from an existing shared tier cluster that you manage with this Provider to a dedicated cluster (M10+) Terraform will see it as a request to destroy the shared tier cluster and as a request to create a dedicated tier cluster, i.e. Terraform will not see it as a request to upgrade. If you accept the plan in this case the shared tier cluster would be destroyed and you would lose the data on that cluster. Do not attempt to upgrade from the shared to dedicated tier via this Provider, it is not supported!
20
20
<br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
21
21
<br> • If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.
# Example return string: plstring = mongodb+srv://cluster-atlas-pl-0.za3fb.mongodb.net
216
223
```
217
224
Standard
218
225
```hcl
219
226
output "standard" {
220
227
value = mongodbatlas_cluster.cluster-test.connection_strings[0].standard
221
228
}
222
-
//Example return string: standard = "mongodb://cluster-atlas-shard-00-00.ygo1m.mongodb.net:27017,cluster-atlas-shard-00-01.ygo1m.mongodb.net:27017,cluster-atlas-shard-00-02.ygo1m.mongodb.net:27017/?ssl=true&authSource=admin&replicaSet=atlas-12diht-shard-0"
229
+
# Example return string: standard = "mongodb://cluster-atlas-shard-00-00.ygo1m.mongodb.net:27017,cluster-atlas-shard-00-01.ygo1m.mongodb.net:27017,cluster-atlas-shard-00-02.ygo1m.mongodb.net:27017/?ssl=true&authSource=admin&replicaSet=atlas-12diht-shard-0"
223
230
```
224
231
Standard srv
225
232
```hcl
226
233
output "standard_srv" {
227
234
value = mongodbatlas_cluster.cluster-test.connection_strings[0].standard_srv
# Example return string: private_srv = "mongodb+srv://cluster-atlas-pri.ygo1m.mongodb.net"
245
252
```
246
253
247
254
## Argument Reference
@@ -257,7 +264,6 @@ output "private_srv" {
257
264
-`TENANT` - A multi-tenant deployment on one of the supported cloud service providers. Only valid when providerSettings.instanceSizeName is either M2 or M5.
258
265
*`name` - (Required) Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed.
259
266
*`provider_instance_size_name` - (Required) Atlas provides different instance sizes, each with a default storage capacity and RAM size. The instance size you select is used for all the data-bearing servers in your cluster. See [Create a Cluster](https://docs.atlas.mongodb.com/reference/api/clusters-create-one/)`providerSettings.instanceSizeName` for valid values and default resources.
260
-
**Note** free tier (M0) creation is not supported by the Atlas API and hence not supported by this provider.)
261
267
262
268
*`auto_scaling_disk_gb_enabled` - (Optional) Specifies whether disk auto-scaling is enabled. The default is true.
0 commit comments