diff --git a/.changelog/2336.txt b/.changelog/2336.txt new file mode 100644 index 0000000000..996cb30907 --- /dev/null +++ b/.changelog/2336.txt @@ -0,0 +1,3 @@ +```release-note:breaking-change +data-source/mongodbatlas_privatelink_endpoints_service_serverless: Removes `page_num` and `items_per_page` arguments +``` diff --git a/internal/service/privatelinkendpointserviceserverless/data_source_privatelink_endpoints_service_serverless.go b/internal/service/privatelinkendpointserviceserverless/data_source_privatelink_endpoints_service_serverless.go index 06bfbd10a6..d979c39252 100644 --- a/internal/service/privatelinkendpointserviceserverless/data_source_privatelink_endpoints_service_serverless.go +++ b/internal/service/privatelinkendpointserviceserverless/data_source_privatelink_endpoints_service_serverless.go @@ -2,12 +2,10 @@ package privatelinkendpointserviceserverless import ( "context" - "fmt" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/id" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mongodb/terraform-provider-mongodbatlas/internal/common/constant" "github.com/mongodb/terraform-provider-mongodbatlas/internal/config" "go.mongodb.org/atlas-sdk/v20231115014/admin" ) @@ -25,16 +23,6 @@ func PluralDataSource() *schema.Resource { Required: true, ForceNew: true, }, - "page_num": { - Deprecated: fmt.Sprintf(constant.DeprecationParamByVersion, "1.17.0"), - Type: schema.TypeInt, - Optional: true, - }, - "items_per_page": { - Deprecated: fmt.Sprintf(constant.DeprecationParamByVersion, "1.17.0"), - Type: schema.TypeInt, - Optional: true, - }, "results": { Type: schema.TypeList, Computed: true, diff --git a/website/docs/guides/1.17.0-upgrade-guide.html.markdown b/website/docs/guides/1.17.0-upgrade-guide.html.markdown index 822508e841..40536dc7f5 100644 --- a/website/docs/guides/1.17.0-upgrade-guide.html.markdown +++ b/website/docs/guides/1.17.0-upgrade-guide.html.markdown @@ -25,6 +25,7 @@ The Terraform MongoDB Atlas Provider version 1.17.0 has a number of new and exci `terraform import mongodbatlas_federated_settings_identity_provider.identity_provider -` 3. Run `terraform plan`. 4. Run `terraform apply`. +- Attributes `page_num` and `items_per_page` removed from [`mongodbatlas_privatelink_endpoints_service_serverless`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/data-sources/privatelink_endpoints_service_serverless) data source. ### Helpful Links