From 06efacbf1730f2a17c67988d502e34fa37ec005d Mon Sep 17 00:00:00 2001 From: Andrea Angiolillo Date: Fri, 8 Dec 2023 16:42:41 +0000 Subject: [PATCH] CLOUDP-215923: [TF] Remove sunset resources from documentation (#1732) --- ...atelink_endpoint_service_adl.html.markdown | 48 ------------------- website/docs/r/network_peering.html.markdown | 2 +- website/docs/r/private_ip_mode.html.markdown | 44 ----------------- ...atelink_endpoint_service_adl.html.markdown | 44 ----------------- 4 files changed, 1 insertion(+), 137 deletions(-) delete mode 100644 website/docs/d/privatelink_endpoint_service_adl.html.markdown delete mode 100644 website/docs/r/private_ip_mode.html.markdown delete mode 100644 website/docs/r/privatelink_endpoint_service_adl.html.markdown diff --git a/website/docs/d/privatelink_endpoint_service_adl.html.markdown b/website/docs/d/privatelink_endpoint_service_adl.html.markdown deleted file mode 100644 index ab6bcac52d..0000000000 --- a/website/docs/d/privatelink_endpoint_service_adl.html.markdown +++ /dev/null @@ -1,48 +0,0 @@ ---- -layout: "mongodbatlas" -page_title: "MongoDB Atlas: privatelink_endpoint_service_adl" -sidebar_current: "docs-mongodbatlas-datasource-privatelink-endpoint-service-adl" -description: |- -Describes an Atlas Data Lake and Online Archive PrivateLink endpoint ---- - - -# Data Source: privatelink_endpoint_service_adl - -`privatelink_endpoint_service_adl` Provides an Atlas Data Lake (ADL) and Online Archive PrivateLink endpoint resource. - --> **NOTE:** Groups and projects are synonymous terms. You may find group_id in the official documentation. - -## Example Usage - -### Basic -```terraform -resource "mongodbatlas_privatelink_endpoint_service_adl" "adl_test" { - project_id = "" - endpoint_id = "" - comment = "Comment for PrivateLink endpoint ADL" - type = "DATA_LAKE" - provider_name = "AWS" -} - -data "mongodbatlas_privatelink_endpoint_service_adl" "test" { - project_id = mongodbatlas_privatelink_endpoint_service_adl.adl_test.project_id - private_link_id = mongodbatlas_privatelink_endpoint_service_adl.adl_test.endpoint_id -} -``` - - -## Argument Reference - -* `project_id` - (Required) Unique 24-digit hexadecimal string that identifies the project. -* `endpoint_id` - (Required) Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the [|aws| PrivateLink](https://aws.amazon.com/privatelink/) feature. - -## Attributes Reference - -In addition to all arguments above, the following attributes are exported: - -* `type` - Human-readable label that identifies the type of resource to associate with this private endpoint. -* `provider_name` - Human-readable label that identifies the cloud provider for this endpoint. -* `comment` - Human-readable string to associate with this private endpoint. - -For more information see: [MongoDB Atlas API - DataLake](https://docs.mongodb.com/datalake/reference/api/datalakes-api/) and [MongoDB Atlas API - Online Archive](https://docs.atlas.mongodb.com/reference/api/online-archive/) Documentation. diff --git a/website/docs/r/network_peering.html.markdown b/website/docs/r/network_peering.html.markdown index 162465f1cd..a2e6d27fba 100644 --- a/website/docs/r/network_peering.html.markdown +++ b/website/docs/r/network_peering.html.markdown @@ -12,7 +12,7 @@ description: |- Ensure you have first created a network container if it is required for your configuration. See the network_container resource documentation to determine if you need a network container first. Examples for creating both container and peering resource are shown below as well as examples for creating the peering connection only. -~> **GCP AND AZURE ONLY:** Connect via Peering Only mode is deprecated, so no longer needed. See [disable Peering Only mode](https://docs.atlas.mongodb.com/reference/faq/connection-changes/#disable-peering-mode) for details and [private_ip_mode](https://www.terraform.io/docs/providers/mongodbatlas/r/private_ip_mode.html) to disable. +~> **GCP AND AZURE ONLY:** Connect via Peering Only mode is deprecated, so no longer needed. See [disable Peering Only mode](https://docs.atlas.mongodb.com/reference/faq/connection-changes/#disable-peering-mode) for details ~> **AZURE ONLY:** To create the peering request with an Azure VNET, you must grant Atlas the following permissions on the virtual network. Microsoft.Network/virtualNetworks/virtualNetworkPeerings/read diff --git a/website/docs/r/private_ip_mode.html.markdown b/website/docs/r/private_ip_mode.html.markdown deleted file mode 100644 index 6ce1bddebb..0000000000 --- a/website/docs/r/private_ip_mode.html.markdown +++ /dev/null @@ -1,44 +0,0 @@ ---- -layout: "mongodbatlas" -page_title: "MongoDB Atlas: private_ip_mode" -sidebar_current: "docs-mongodbatlas-resource-private-ip-mode" -description: |- - Provides a Private IP Mode resource. ---- - -# Resource: mongodbatlas_private_ip_mode - -`mongodbatlas_private_ip_mode` provides a Private IP Mode resource. This allows one to disable Connect via Peering Only mode for a MongoDB Atlas Project. - -~> **Deprecated Feature**:
This feature has been deprecated. Use [Split Horizon connection strings](https://dochub.mongodb.org/core/atlas-horizon-faq) to connect to your cluster. These connection strings allow you to connect using both VPC/VNet Peering and whitelisted public IP addresses. To learn more about support for Split Horizon, see [this FAQ](https://dochub.mongodb.org/core/atlas-horizon-faq). You need this endpoint to [disable Peering Only](https://docs.atlas.mongodb.com/reference/faq/connection-changes/#disable-peering-mode). - **Note:** This resource have now been fully deprecated as part of v1.10.0 release - -## Example Usage - -```terraform -resource "mongodbatlas_private_ip_mode" "my_private_ip_mode" { - project_id = "" - enabled = false -} -``` - -## Argument Reference - -* `project_id` - (Required) The unique ID for the project to enable Only Private IP Mode. -* `enabled` - (Required) Indicates whether Connect via Peering Only mode is enabled or disabled for an Atlas project - - -## Attributes Reference - -In addition to all arguments above, the following attributes are exported: - -* `id` - The project id. - -## Import - -Project must be imported using project ID, e.g. - -``` -$ terraform import mongodbatlas_private_ip_mode.my_private_ip_mode 5d09d6a59ccf6445652a444a -``` -For more information see: [MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/get-private-ip-mode-for-project/) diff --git a/website/docs/r/privatelink_endpoint_service_adl.html.markdown b/website/docs/r/privatelink_endpoint_service_adl.html.markdown deleted file mode 100644 index 2b69d4a3ad..0000000000 --- a/website/docs/r/privatelink_endpoint_service_adl.html.markdown +++ /dev/null @@ -1,44 +0,0 @@ ---- -layout: "mongodbatlas" -page_title: "MongoDB Atlas: privatelink_endpoint_service_adl" -sidebar_current: "docs-mongodbatlas-resource-privatelink-endpoint-service-adl" -description: |- -Provides an Atlas Data Lake and Online Archive PrivateLink endpoint. ---- - - -# Resource: privatelink_endpoint_service_adl - -`privatelink_endpoint_service_adl` Provides an Atlas Data Lake (ADL) and Online Archive PrivateLink endpoint resource. The same configuration will provide a PrivateLink connection for either Atlas Data Lake or Online Archive. - -## Example Usage - -### Basic -```terraform -resource "mongodbatlas_privatelink_endpoint_service_adl" "adl_test" { - project_id = "" - endpoint_id = "" - comment = "comments for private link endpoint adl" - type = "DATA_LAKE" - provider_name = "AWS" -} -``` - - -## Argument Reference - -* `project_id` - (Required) Unique 24-digit hexadecimal string that identifies the project. -* `endpoint_id` - (Required) Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the [|aws| PrivateLink](https://aws.amazon.com/privatelink/) feature. -* `type` - (Required) Human-readable label that identifies the type of resource to associate with this private endpoint. Atlas supports `DATA_LAKE` only. If empty, defaults to `DATA_LAKE`. -* `provider_name` - (Required) Human-readable label that identifies the cloud provider for this endpoint. Atlas supports AWS only. If empty, defaults to AWS. -* `comment` - Human-readable string to associate with this private endpoint. - -## Import - -ADL privatelink endpoint can be imported using project ID and endpoint ID, in the format `project_id`--`endpoint_id`, e.g. - -``` -$ terraform import privatelink_endpoint_service_adl.test 1112222b3bf99403840e8934--vpce-jjg5e24qp93513h03 -``` - -For more information see: [MongoDB Atlas API - DataLake](https://docs.mongodb.com/datalake/reference/api/datalakes-api/) and [MongoDB Atlas API - Online Archive](https://docs.atlas.mongodb.com/reference/api/online-archive/) Documentation.