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
Copy file name to clipboardExpand all lines: website/docs/r/network_container.html.markdown
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,10 @@ description: |-
8
8
9
9
# mongodbatlas_network_container
10
10
11
-
`mongodbatlas_network_container` provides a Network Peering Container resource. The resource lets you create, edit and delete network peering containers. The resource requires your Project ID. Each cloud provider requires slightly different attributes so read the argument reference carefully.
11
+
`mongodbatlas_network_container` provides a Network Peering Container resource. The resource lets you create, edit and delete network peering containers. The resource requires your Project ID. Each cloud provider requires slightly different attributes so read the argument reference carefully.
12
12
13
13
Network peering container is a general term used to describe any cloud providers' VPC/VNet concept. Containers only need to be created if the peering connection to the cloud provider will be created before the first cluster that requires the container. If the cluster has been/will be created first Atlas automatically creates the required container per the "containers per cloud provider" information that follows (in this case you can obtain the container id from the cluster resource attribute `container_id`).
14
-
14
+
15
15
The following is the maximum number of Network Peering containers per cloud provider:
16
16
<br> • GCP - One container per project.
17
17
<br> • AWS and Azure - One container per cloud provider region.
**Atlas locks this value** if an M10+ cluster or a Network Peering connection already exists. To modify the CIDR block, ensure there are no M10+ clusters in the project and no other Network Peering connections in the project.
67
-
67
+
68
68
**Important**: Atlas limits the number of MongoDB nodes per Network Peering connection based on the CIDR block and the region selected for the project. Contact [MongoDB Support](https://www.mongodb.com/contact?tck=docs_atlas) for any questions on Atlas limits of MongoDB nodes per Network Peering connection.
69
69
70
70
*`provider_name` - (Required GCP and AZURE, Optional but recommended for AWS) Cloud provider for this Network Peering connection. Accepted values are GCP, AWS, AZURE. If omitted, Atlas sets this parameter to AWS.
@@ -81,16 +81,22 @@ In addition to all arguments above, the following attributes are exported:
81
81
*`container_id` - The Network Peering Container ID.
82
82
*`id` - Terraform's unique identifier used internally for state management.
83
83
*`provisioned` - Indicates whether the project has Network Peering connections deployed in the container.
84
-
**AWS ONLY:**
84
+
85
+
**AWS ONLY:**
86
+
85
87
*`region_name` - Atlas name for AWS region where the Atlas container resides.
86
88
*`vpc_id` - Unique identifier of Atlas' AWS VPC.
89
+
87
90
**CGP ONLY:**
91
+
88
92
*`gcp_project_id` - Unique identifier of the GCP project in which the network peer resides. Returns null. This value is populated once you create a new network peering connection with the network peering resource.
89
93
*`network_name` - Unique identifier of the Network Peering connection in the Atlas project. Returns null. This value is populated once you create a new network peering connection with the network peering resource.
94
+
90
95
**AZURE ONLY:**
96
+
91
97
*`region` - Azure region where the Atlas container resides.
92
98
*`azure_subscription_id` - Unique identifier of the Azure subscription in which the VNet resides.
93
-
**`vnet_name` - The name of the Azure VNet. Returns null. This value is populated once you create a new network peering connection with the network peering resource.
99
+
*`vnet_name` - The name of the Azure VNet. Returns null. This value is populated once you create a new network peering connection with the network peering resource.
0 commit comments