From b97d42fbf10375c54bb5aa74fc38e4209800641d Mon Sep 17 00:00:00 2001 From: Oriol Arbusi Date: Wed, 12 Mar 2025 11:09:07 +0100 Subject: [PATCH 1/5] deprecate serverless/shared features --- cfn-resources/README.md | 4 ++-- .../cloud-backup-restore-jobs/README.md | 2 ++ .../cloud-backup-restore-jobs/docs/README.md | 2 +- .../mongodb-atlas-cloudbackuprestorejobs.json | 2 +- cfn-resources/serverless-instance/README.md | 2 ++ .../cmd/resource/config.go | 19 +++++++++++++++++++ .../serverless-instance/docs/README.md | 2 +- .../mongodb-atlas-serverlessinstance.json | 2 +- .../serverless-private-endpoint/README.md | 2 ++ .../docs/README.md | 2 +- ...ngodb-atlas-serverlessprivateendpoint.json | 2 +- 11 files changed, 33 insertions(+), 8 deletions(-) create mode 100644 cfn-resources/serverless-instance/cmd/resource/config.go diff --git a/cfn-resources/README.md b/cfn-resources/README.md index 9426e9766..8f45233db 100644 --- a/cfn-resources/README.md +++ b/cfn-resources/README.md @@ -39,7 +39,7 @@ Note these are also hosted on AWS CloudFormation Public Registry under Third Par | 26 | project-invitation | ![Build](https://img.shields.io/badge/GA-green) | [example](../examples/project-invitation/project-invitation.json) | [./project-invitation/test](./project-invitation/test) | | 27 | project-ip-access-list | ![Build](https://img.shields.io/badge/GA-green) | [example](../examples/project-ip-access-list/ip-access-list.yaml) | [./project-ip-access-list/test](./project-ip-access-list/test) | | 28 | search-index | ![Build](https://img.shields.io/badge/GA-green) | [example](../examples/search-index/searchIndex.json) | [./search-indexes/test](./search-indexes/test) | -| 29 | serverless-instance | ![Build](https://img.shields.io/badge/GA-green) | [example](../examples/serverless-instance/serverless-instance.json) | [./serverless-instance/test](./serverless-instance/test) | +| 29 | serverless-instance | ![Build](https://img.shields.io/badge/Deprecated-red) | [example](../examples/serverless-instance/serverless-instance.json) | [./serverless-instance/test](./serverless-instance/test) | | 30 | teams | ![Build](https://img.shields.io/badge/GA-green) | [example](../examples/teams/teams.json) | [./teams/test](./teams/test) | | 31 | third-party-integration | ![Build](https://img.shields.io/badge/GA-green) | [example files](../examples/thirdpartyintegrations) | [./third-party-integration/test](./third-party-integration/test) | | 32 | trigger | ![Build](https://img.shields.io/badge/GA-green) | [example](../examples/trigger/trigger.json) | [./trigger/test](./trigger/test) | @@ -47,7 +47,7 @@ Note these are also hosted on AWS CloudFormation Public Registry under Third Par | 34 | federated-database-instance | ![Build](https://img.shields.io/badge/GA-green) | [example](../examples/federated-database-instance/federatedDatabaseInstance.json) | [./federated-database-instance/test](./federated-database-instance/test) | | 35 | privatelink-endpoint-service-data-federation-online-archive | ![Build](https://img.shields.io/badge/GA-green) | [example](../examples/privatelink-endpoint-service-data-federation-online-archive/privatelink-endpoint-service-data-federation-online-archive.json) | [./privatelink-endpoint-service-data-federation-online-archive/test](./privatelink-endpoint-service-data-federation-online-archive/test) | | 36 | federated-query-limit | ![Build](https://img.shields.io/badge/GA-green) | [example](../examples/federated-query-limit/federatedQueryLimit.json) | [./federated-query-limit/test](./federated-query-limit/test) | -| 37 | serverless-private-endpoint | ![Build](https://img.shields.io/badge/GA-green) | [example](../examples/serverless-private-endpoint/serverless-private-endpoint-with-aws-private-endpoint.json) | [./serverless-private-endpoint/test](./serverless-private-endpoint/test) | +| 37 | serverless-private-endpoint | ![Build](https://img.shields.io/badge/Deprecated-red) | [example](../examples/serverless-private-endpoint/serverless-private-endpoint-with-aws-private-endpoint.json) | [./serverless-private-endpoint/test](./serverless-private-endpoint/test) | | 38 | api-key | ![Build](https://img.shields.io/badge/GA-green) | [example](../examples/api-key/api-key.json) | [./api-key/test](./api-key/test) | | 39 | access-list-api-key | ![Build](https://img.shields.io/badge/GA-green) | [example](../examples/access-list-api-key/access-list-api-key.json) | [./access-list-api-key/test](./access-list-api-key/test) | | 40 | data-lake-pipeline | ![Build](https://img.shields.io/badge/Deprecated-red) | [example](../examples/data-lake-pipeline/datalakepipeline.json) | [./data-lake-pipeline/test](./data-lake-pipeline/test) | diff --git a/cfn-resources/cloud-backup-restore-jobs/README.md b/cfn-resources/cloud-backup-restore-jobs/README.md index be10efcc1..8c36606f2 100644 --- a/cfn-resources/cloud-backup-restore-jobs/README.md +++ b/cfn-resources/cloud-backup-restore-jobs/README.md @@ -3,6 +3,8 @@ ## Description Resource for managing [Cloud BackUp Restore Jobs](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Cloud-Backup-Restore-Jobs). +**WARNING:** `serverless` instance type is deprecated and will be removed in January 2026. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). + ## Requirements Set up an AWS profile to securely give CloudFormation access to your Atlas credentials. diff --git a/cfn-resources/cloud-backup-restore-jobs/docs/README.md b/cfn-resources/cloud-backup-restore-jobs/docs/README.md index 52c5e00b1..2e3aef4f3 100644 --- a/cfn-resources/cloud-backup-restore-jobs/docs/README.md +++ b/cfn-resources/cloud-backup-restore-jobs/docs/README.md @@ -63,7 +63,7 @@ _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/l #### InstanceType -Type of instance specified on the Instance Name serverless or cluster +Type of instance specified on the Instance Name serverless or cluster. **WARNING:** `serverless` instance type is deprecated and will be removed in January 2026. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). _Required_: Yes diff --git a/cfn-resources/cloud-backup-restore-jobs/mongodb-atlas-cloudbackuprestorejobs.json b/cfn-resources/cloud-backup-restore-jobs/mongodb-atlas-cloudbackuprestorejobs.json index 1f72731ce..d7cc521ff 100644 --- a/cfn-resources/cloud-backup-restore-jobs/mongodb-atlas-cloudbackuprestorejobs.json +++ b/cfn-resources/cloud-backup-restore-jobs/mongodb-atlas-cloudbackuprestorejobs.json @@ -28,7 +28,7 @@ "type": "string" }, "InstanceType": { - "description": "Type of instance specified on the Instance Name serverless or cluster", + "description": "Type of instance specified on the Instance Name serverless or cluster. **WARNING:** `serverless` instance type is deprecated and will be removed in January 2026. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/).", "type": "string", "enum": [ "serverless", diff --git a/cfn-resources/serverless-instance/README.md b/cfn-resources/serverless-instance/README.md index dfaac7a84..12df67ab0 100644 --- a/cfn-resources/serverless-instance/README.md +++ b/cfn-resources/serverless-instance/README.md @@ -1,5 +1,7 @@ # MongoDB::Atlas::ServerlessInstance +**WARNING:** This resource is deprecated and will be removed in January 2026. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). + ## Description Resource for managing [Serverless Instances](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Serverless-Instances). diff --git a/cfn-resources/serverless-instance/cmd/resource/config.go b/cfn-resources/serverless-instance/cmd/resource/config.go new file mode 100644 index 000000000..4d9eb7831 --- /dev/null +++ b/cfn-resources/serverless-instance/cmd/resource/config.go @@ -0,0 +1,19 @@ +// Code generated by 'cfn generate', changes will be undone by the next invocation. DO NOT EDIT. +// Updates to this type are made my editing the schema file and executing the 'generate' command. +package resource + +import "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" + +// TypeConfiguration is autogenerated from the json schema +type TypeConfiguration struct { +} + +// Configuration returns a resource's configuration. +func Configuration(req handler.Request) (*TypeConfiguration, error) { + // Populate the type configuration + typeConfig := &TypeConfiguration{} + if err := req.UnmarshalTypeConfig(typeConfig); err != nil { + return typeConfig, err + } + return typeConfig, nil +} diff --git a/cfn-resources/serverless-instance/docs/README.md b/cfn-resources/serverless-instance/docs/README.md index 669e13714..7c8a961c9 100644 --- a/cfn-resources/serverless-instance/docs/README.md +++ b/cfn-resources/serverless-instance/docs/README.md @@ -1,6 +1,6 @@ # MongoDB::Atlas::ServerlessInstance -Returns, adds, edits, and removes serverless instances. +**WARNING:** This resource is deprecated and will be removed in January 2026. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Returns, adds, edits, and removes serverless instances. ## Syntax diff --git a/cfn-resources/serverless-instance/mongodb-atlas-serverlessinstance.json b/cfn-resources/serverless-instance/mongodb-atlas-serverlessinstance.json index 114f93567..70d51baab 100644 --- a/cfn-resources/serverless-instance/mongodb-atlas-serverlessinstance.json +++ b/cfn-resources/serverless-instance/mongodb-atlas-serverlessinstance.json @@ -2,7 +2,7 @@ "typeName": "MongoDB::Atlas::ServerlessInstance", "sourceUrl": "https://github.com/mongodb/mongodbatlas-cloudformation-resources/tree/master/cfn-resources/serverless-instance", "additionalProperties": false, - "description": "Returns, adds, edits, and removes serverless instances.", + "description": "**WARNING:** This resource is deprecated and will be removed in January 2026. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Returns, adds, edits, and removes serverless instances.", "definitions": { "ServerlessInstanceConnectionStrings": { "type": "object", diff --git a/cfn-resources/serverless-private-endpoint/README.md b/cfn-resources/serverless-private-endpoint/README.md index e54c2eae4..83ce48fde 100644 --- a/cfn-resources/serverless-private-endpoint/README.md +++ b/cfn-resources/serverless-private-endpoint/README.md @@ -1,5 +1,7 @@ # MongoDB::Atlas::ServerlessPrivateEndpoint +**WARNING:** This resource is deprecated and will be removed in January 2026. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). + Resource for creating and managing [Private Endpoint Services](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints). If the CreateAndAssignAWSPrivateEndpoint Only the Atlas private endpoint will be deleted, the AWS private endpoint will remain and might need to be deleted manually diff --git a/cfn-resources/serverless-private-endpoint/docs/README.md b/cfn-resources/serverless-private-endpoint/docs/README.md index c1ba9c094..14e840ac9 100644 --- a/cfn-resources/serverless-private-endpoint/docs/README.md +++ b/cfn-resources/serverless-private-endpoint/docs/README.md @@ -1,6 +1,6 @@ # MongoDB::Atlas::ServerlessPrivateEndpoint -Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial. +**WARNING:** This resource is deprecated and will be removed in January 2026. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial. ## Syntax diff --git a/cfn-resources/serverless-private-endpoint/mongodb-atlas-serverlessprivateendpoint.json b/cfn-resources/serverless-private-endpoint/mongodb-atlas-serverlessprivateendpoint.json index a592c73c5..e064e8969 100644 --- a/cfn-resources/serverless-private-endpoint/mongodb-atlas-serverlessprivateendpoint.json +++ b/cfn-resources/serverless-private-endpoint/mongodb-atlas-serverlessprivateendpoint.json @@ -1,6 +1,6 @@ { "typeName": "MongoDB::Atlas::ServerlessPrivateEndpoint", - "description": "Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial.", + "description": "**WARNING:** This resource is deprecated and will be removed in January 2026. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial.", "sourceUrl": "https://github.com/mongodb/mongodbatlas-cloudformation-resources/tree/master/cfn-resources/serverless-private-endpoint", "definitions": { "awsPrivateEndpointConfig": { From 71342e6dcc68e6867a63b9b33fcdc88c09a3790e Mon Sep 17 00:00:00 2001 From: Oriol Arbusi Date: Wed, 12 Mar 2025 11:15:24 +0100 Subject: [PATCH 2/5] increase version --- .../cloud-backup-restore-jobs/test/cfn-test-create-inputs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfn-resources/cloud-backup-restore-jobs/test/cfn-test-create-inputs.sh b/cfn-resources/cloud-backup-restore-jobs/test/cfn-test-create-inputs.sh index c328f89e8..d2a8ebd48 100755 --- a/cfn-resources/cloud-backup-restore-jobs/test/cfn-test-create-inputs.sh +++ b/cfn-resources/cloud-backup-restore-jobs/test/cfn-test-create-inputs.sh @@ -36,7 +36,7 @@ ClusterName=$projectName clusterId=$(atlas clusters list --projectId "${projectId}" --output json | jq --arg NAME "${ClusterName}" -r '.results[]? | select(.name==$NAME) | .id') if [ -z "$clusterId" ]; then echo "creating cluster.." - atlas clusters create "${ClusterName}" --projectId "${projectId}" --backup --provider AWS --region US_EAST_1 --members 3 --tier M10 --mdbVersion 5.0 --diskSizeGB 10 --output=json + atlas clusters create "${ClusterName}" --projectId "${projectId}" --backup --provider AWS --region US_EAST_1 --members 3 --tier M10 --mdbVersion 8.0 --diskSizeGB 10 --output=json atlas clusters watch "${ClusterName}" --projectId "${projectId}" echo -e "Created Cluster \"${ClusterName}\"" fi From d311bd5df19748a4f1c83acebb4fe680d9c0dbcf Mon Sep 17 00:00:00 2001 From: Oriol Arbusi Date: Wed, 12 Mar 2025 14:23:49 +0100 Subject: [PATCH 3/5] correct date --- cfn-resources/serverless-private-endpoint/README.md | 2 +- cfn-resources/serverless-private-endpoint/docs/README.md | 2 +- .../mongodb-atlas-serverlessprivateendpoint.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cfn-resources/serverless-private-endpoint/README.md b/cfn-resources/serverless-private-endpoint/README.md index 83ce48fde..efc598428 100644 --- a/cfn-resources/serverless-private-endpoint/README.md +++ b/cfn-resources/serverless-private-endpoint/README.md @@ -1,6 +1,6 @@ # MongoDB::Atlas::ServerlessPrivateEndpoint -**WARNING:** This resource is deprecated and will be removed in January 2026. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). +**WARNING:** This resource is deprecated and will be removed in May 2025. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Resource for creating and managing [Private Endpoint Services](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints). diff --git a/cfn-resources/serverless-private-endpoint/docs/README.md b/cfn-resources/serverless-private-endpoint/docs/README.md index 14e840ac9..8b228beb2 100644 --- a/cfn-resources/serverless-private-endpoint/docs/README.md +++ b/cfn-resources/serverless-private-endpoint/docs/README.md @@ -1,6 +1,6 @@ # MongoDB::Atlas::ServerlessPrivateEndpoint -**WARNING:** This resource is deprecated and will be removed in January 2026. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial. +**WARNING:** This resource is deprecated and will be removed in May 2025. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial. ## Syntax diff --git a/cfn-resources/serverless-private-endpoint/mongodb-atlas-serverlessprivateendpoint.json b/cfn-resources/serverless-private-endpoint/mongodb-atlas-serverlessprivateendpoint.json index e064e8969..224bef46a 100644 --- a/cfn-resources/serverless-private-endpoint/mongodb-atlas-serverlessprivateendpoint.json +++ b/cfn-resources/serverless-private-endpoint/mongodb-atlas-serverlessprivateendpoint.json @@ -1,6 +1,6 @@ { "typeName": "MongoDB::Atlas::ServerlessPrivateEndpoint", - "description": "**WARNING:** This resource is deprecated and will be removed in January 2026. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial.", + "description": "**WARNING:** This resource is deprecated and will be removed in May 2025. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial.", "sourceUrl": "https://github.com/mongodb/mongodbatlas-cloudformation-resources/tree/master/cfn-resources/serverless-private-endpoint", "definitions": { "awsPrivateEndpointConfig": { From bdea3ca79b702a399dea337af0441c0440ebd6e1 Mon Sep 17 00:00:00 2001 From: Oriol Arbusi Date: Wed, 12 Mar 2025 15:28:50 +0100 Subject: [PATCH 4/5] add extra warning for serverless private endpoint --- cfn-resources/serverless-private-endpoint/README.md | 2 +- cfn-resources/serverless-private-endpoint/docs/README.md | 2 +- .../mongodb-atlas-serverlessprivateendpoint.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cfn-resources/serverless-private-endpoint/README.md b/cfn-resources/serverless-private-endpoint/README.md index efc598428..3b967ab26 100644 --- a/cfn-resources/serverless-private-endpoint/README.md +++ b/cfn-resources/serverless-private-endpoint/README.md @@ -1,6 +1,6 @@ # MongoDB::Atlas::ServerlessPrivateEndpoint -**WARNING:** This resource is deprecated and will be removed in May 2025. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). +**WARNING:** This resource is deprecated and will be removed in May 2025. If you try to create a ServerlessPrivateEndpoint for a newly created ServerlessInstance, it will fail because the newly created ServerlessInstance are now Flex clusters. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Resource for creating and managing [Private Endpoint Services](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints). diff --git a/cfn-resources/serverless-private-endpoint/docs/README.md b/cfn-resources/serverless-private-endpoint/docs/README.md index 8b228beb2..222707a0c 100644 --- a/cfn-resources/serverless-private-endpoint/docs/README.md +++ b/cfn-resources/serverless-private-endpoint/docs/README.md @@ -1,6 +1,6 @@ # MongoDB::Atlas::ServerlessPrivateEndpoint -**WARNING:** This resource is deprecated and will be removed in May 2025. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial. +**WARNING:** This resource is deprecated and will be removed in May 2025. If you try to create a ServerlessPrivateEndpoint for a newly created ServerlessInstance, it will fail because the newly created ServerlessInstance are now Flex clusters. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial. ## Syntax diff --git a/cfn-resources/serverless-private-endpoint/mongodb-atlas-serverlessprivateendpoint.json b/cfn-resources/serverless-private-endpoint/mongodb-atlas-serverlessprivateendpoint.json index 224bef46a..dab86d2b3 100644 --- a/cfn-resources/serverless-private-endpoint/mongodb-atlas-serverlessprivateendpoint.json +++ b/cfn-resources/serverless-private-endpoint/mongodb-atlas-serverlessprivateendpoint.json @@ -1,6 +1,6 @@ { "typeName": "MongoDB::Atlas::ServerlessPrivateEndpoint", - "description": "**WARNING:** This resource is deprecated and will be removed in May 2025. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial.", + "description": "**WARNING:** This resource is deprecated and will be removed in May 2025. If you try to create a ServerlessPrivateEndpoint for a newly created ServerlessInstance, it will fail because the newly created ServerlessInstance are now Flex clusters. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial.", "sourceUrl": "https://github.com/mongodb/mongodbatlas-cloudformation-resources/tree/master/cfn-resources/serverless-private-endpoint", "definitions": { "awsPrivateEndpointConfig": { From bbd3ce3399198cd2efac1a3935750c094996e582 Mon Sep 17 00:00:00 2001 From: Oriol Arbusi Date: Wed, 12 Mar 2025 16:51:56 +0100 Subject: [PATCH 5/5] pr suggestion --- cfn-resources/serverless-private-endpoint/README.md | 2 +- cfn-resources/serverless-private-endpoint/docs/README.md | 2 +- .../mongodb-atlas-serverlessprivateendpoint.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cfn-resources/serverless-private-endpoint/README.md b/cfn-resources/serverless-private-endpoint/README.md index 3b967ab26..4286243d2 100644 --- a/cfn-resources/serverless-private-endpoint/README.md +++ b/cfn-resources/serverless-private-endpoint/README.md @@ -1,6 +1,6 @@ # MongoDB::Atlas::ServerlessPrivateEndpoint -**WARNING:** This resource is deprecated and will be removed in May 2025. If you try to create a ServerlessPrivateEndpoint for a newly created ServerlessInstance, it will fail because the newly created ServerlessInstance are now Flex clusters. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). +**WARNING:** This resource is deprecated and will be removed in May 2025. If you try to create a new ServerlessInstance, you will create a Flex cluster. As a result, you can't create ServerlessPrivateEndpoints for these new instances. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Resource for creating and managing [Private Endpoint Services](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints). diff --git a/cfn-resources/serverless-private-endpoint/docs/README.md b/cfn-resources/serverless-private-endpoint/docs/README.md index 222707a0c..c67be0e6f 100644 --- a/cfn-resources/serverless-private-endpoint/docs/README.md +++ b/cfn-resources/serverless-private-endpoint/docs/README.md @@ -1,6 +1,6 @@ # MongoDB::Atlas::ServerlessPrivateEndpoint -**WARNING:** This resource is deprecated and will be removed in May 2025. If you try to create a ServerlessPrivateEndpoint for a newly created ServerlessInstance, it will fail because the newly created ServerlessInstance are now Flex clusters. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial. +**WARNING:** This resource is deprecated and will be removed in May 2025. If you try to create a new ServerlessInstance, you will create a Flex cluster. As a result, you can't create ServerlessPrivateEndpoints for these new instances. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial. ## Syntax diff --git a/cfn-resources/serverless-private-endpoint/mongodb-atlas-serverlessprivateendpoint.json b/cfn-resources/serverless-private-endpoint/mongodb-atlas-serverlessprivateendpoint.json index dab86d2b3..cae6c74f0 100644 --- a/cfn-resources/serverless-private-endpoint/mongodb-atlas-serverlessprivateendpoint.json +++ b/cfn-resources/serverless-private-endpoint/mongodb-atlas-serverlessprivateendpoint.json @@ -1,6 +1,6 @@ { "typeName": "MongoDB::Atlas::ServerlessPrivateEndpoint", - "description": "**WARNING:** This resource is deprecated and will be removed in May 2025. If you try to create a ServerlessPrivateEndpoint for a newly created ServerlessInstance, it will fail because the newly created ServerlessInstance are now Flex clusters. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial.", + "description": "**WARNING:** This resource is deprecated and will be removed in May 2025. If you try to create a new ServerlessInstance, you will create a Flex cluster. As a result, you can't create ServerlessPrivateEndpoints for these new instances. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial.", "sourceUrl": "https://github.com/mongodb/mongodbatlas-cloudformation-resources/tree/master/cfn-resources/serverless-private-endpoint", "definitions": { "awsPrivateEndpointConfig": {