Skip to content

Commit bede489

Browse files
authored
remove: Removes mongodbatlas_privatelink_endpoint_serverless and mongodbatlas_privatelink_endpoint_service_serverless resources (#3615)
1 parent 8ba12f5 commit bede489

19 files changed

+15
-1828
lines changed

.changelog/3615.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
```release-note:breaking-change
2+
resource/mongodbatlas_privatelink_endpoint_serverless: Removes resource
3+
```
4+
5+
```release-note:breaking-change
6+
resource/mongodbatlas_privatelink_endpoint_service_serverless: Removes resource
7+
```
8+
9+
```release-note:breaking-change
10+
data-source/mongodbatlas_privatelink_endpoint_serverless: Removes data source
11+
```
12+
13+
```release-note:breaking-change
14+
data-source/mongodbatlas_privatelink_endpoint_serverless: Removes data source
15+
```

.github/workflows/acceptance-tests-runner.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,6 @@ jobs:
370370
search_index:
371371
- 'internal/service/searchindex/*.go'
372372
serverless:
373-
- 'internal/service/privatelinkendpointserverless/*.go'
374-
- 'internal/service/privatelinkendpointserviceserverless/*.go'
375373
- 'internal/service/serverlessinstance/*.go'
376374
stream:
377375
- 'internal/service/streamaccountdetails/*.go'
@@ -1127,8 +1125,6 @@ jobs:
11271125
AWS_SECRET_ACCESS_KEY: ${{ secrets.aws_secret_access_key }}
11281126
MONGODB_ATLAS_LAST_VERSION: ${{ needs.get-provider-version.outputs.provider_version }}
11291127
ACCTEST_PACKAGES: |
1130-
./internal/service/privatelinkendpointserverless
1131-
./internal/service/privatelinkendpointserviceserverless
11321128
./internal/service/serverlessinstance
11331129
run: make testacc
11341130
stream:

docs/data-sources/privatelink_endpoint_service_serverless.md

Lines changed: 0 additions & 103 deletions
This file was deleted.

docs/data-sources/privatelink_endpoints_service_serverless.md

Lines changed: 0 additions & 101 deletions
This file was deleted.

docs/data-sources/serverless_instance.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@ data "mongodbatlas_serverless_instance" "test_two" {
2323
}
2424
```
2525

26-
**NOTE:** `mongodbatlas_serverless_instance` and `mongodbatlas_privatelink_endpoint_service_serverless` resources have a circular dependency in some respects.\
27-
That is, the `serverless_instance` must exist before the `privatelink_endpoint_service` can be created,\
28-
and the `privatelink_endpoint_service` must exist before the `serverless_instance` gets its respective `connection_strings_private_endpoint_srv` values.
29-
30-
Because of this, the `serverless_instance` data source has particular value as a source of the `connection_strings_private_endpoint_srv`.\
31-
When using the data_source in-tandem with the afforementioned resources, we can create and retrieve the `connection_strings_private_endpoint_srv` in a single `terraform apply`.
32-
33-
Follow this example to [setup private connection to a serverless instance using aws vpc](https://github.com/mongodb/terraform-provider-mongodbatlas/tree/master/examples/aws-privatelink-endpoint/serverless-instance) and get the connection strings in a single `terraform apply`
34-
35-
3626
## Argument Reference
3727

3828
* `project_id` - (Required) Unique 24-hexadecimal digit string that identifies the project that contains your serverless instance.

docs/resources/privatelink_endpoint_serverless.md

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)