From 5f5a7ab86407fca2bdbc7d2d9c1a4b966390fdb9 Mon Sep 17 00:00:00 2001 From: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com> Date: Tue, 30 Jun 2026 09:46:54 +0000 Subject: [PATCH] build(deps): bump go.mongodb.org/atlas-sdk --- cfn-resources/alert-configuration/cmd/resource/resource.go | 2 +- .../alert-configuration/cmd/resource/resource_test.go | 2 +- .../backup-compliance-policy/cmd/resource/handlers.go | 2 +- .../backup-compliance-policy/cmd/resource/mappings.go | 2 +- .../backup-compliance-policy/cmd/resource/mappings_test.go | 2 +- cfn-resources/database-user/cmd/resource/resource.go | 2 +- cfn-resources/encryption-at-rest/cmd/resource/resource.go | 2 +- cfn-resources/federated-query-limit/cmd/resource/resource.go | 2 +- .../cmd/resource/handlers.go | 2 +- .../cmd/resource/mappings.go | 2 +- .../cmd/resource/mappings_test.go | 2 +- .../cmd/resource/resource.go | 2 +- cfn-resources/flex-cluster/cmd/resource/resource.go | 2 +- cfn-resources/flex-cluster/cmd/resource/share.go | 2 +- cfn-resources/go.mod | 2 +- cfn-resources/go.sum | 4 ++-- cfn-resources/log-integration/cmd/resource/mappings.go | 2 +- cfn-resources/log-integration/cmd/resource/mappings_test.go | 2 +- cfn-resources/maintenance-window/cmd/resource/resource.go | 2 +- .../mongodb-employee-access-grant/cmd/resource/handlers.go | 2 +- .../mongodb-employee-access-grant/cmd/resource/resource.go | 2 +- cfn-resources/organization/cmd/resource/resource.go | 2 +- cfn-resources/private-endpoint-aws/cmd/resource/resource.go | 2 +- .../cmd/resource/handlers.go | 2 +- .../cmd/resource/mappings.go | 2 +- .../cmd/resource/mappings_test.go | 2 +- .../project-service-account-secret/cmd/resource/handlers.go | 2 +- .../project-service-account-secret/cmd/resource/mappings.go | 2 +- .../cmd/resource/mappings_test.go | 2 +- .../project-service-account/cmd/resource/handlers.go | 2 +- .../project-service-account/cmd/resource/mappings.go | 2 +- .../project-service-account/cmd/resource/mappings_test.go | 2 +- cfn-resources/resource-policy/cmd/resource/mappings.go | 2 +- cfn-resources/resource-policy/cmd/resource/mappings_test.go | 2 +- cfn-resources/resource-policy/cmd/resource/resource.go | 2 +- cfn-resources/search-deployment/cmd/resource/mappings.go | 2 +- cfn-resources/search-deployment/cmd/resource/mappings_test.go | 2 +- cfn-resources/search-deployment/cmd/resource/resource.go | 2 +- .../search-deployment/cmd/resource/state_transition.go | 2 +- .../search-deployment/cmd/resource/state_transition_test.go | 4 ++-- cfn-resources/search-index/cmd/resource/resource.go | 2 +- .../cmd/resource/handlers.go | 2 +- .../cmd/resource/mappings.go | 2 +- .../cmd/resource/mappings_test.go | 2 +- .../cmd/resource/handlers.go | 2 +- cfn-resources/service-account-secret/cmd/resource/handlers.go | 2 +- cfn-resources/service-account-secret/cmd/resource/mappings.go | 2 +- .../service-account-secret/cmd/resource/mappings_test.go | 2 +- cfn-resources/service-account/cmd/resource/mappings.go | 2 +- cfn-resources/service-account/cmd/resource/mappings_test.go | 2 +- cfn-resources/stream-connection/cmd/resource/mappings.go | 2 +- cfn-resources/stream-connection/cmd/resource/mappings_test.go | 2 +- cfn-resources/stream-connection/cmd/resource/resource.go | 2 +- .../stream-privatelink-endpoint/cmd/resource/callbacks.go | 2 +- .../stream-privatelink-endpoint/cmd/resource/handlers.go | 2 +- .../stream-privatelink-endpoint/cmd/resource/helpers.go | 2 +- .../stream-privatelink-endpoint/cmd/resource/mappings.go | 2 +- .../stream-privatelink-endpoint/cmd/resource/mappings_test.go | 2 +- cfn-resources/stream-processor/cmd/resource/callbacks.go | 2 +- cfn-resources/stream-processor/cmd/resource/handlers.go | 2 +- cfn-resources/stream-processor/cmd/resource/helpers.go | 2 +- cfn-resources/stream-processor/cmd/resource/mappings.go | 2 +- cfn-resources/stream-processor/cmd/resource/mappings_test.go | 2 +- cfn-resources/stream-workspace/cmd/resource/mappings.go | 2 +- cfn-resources/stream-workspace/cmd/resource/mappings_test.go | 2 +- cfn-resources/stream-workspace/cmd/resource/resource.go | 2 +- cfn-resources/test/e2e/cluster/cluster_test.go | 2 +- cfn-resources/test/e2e/flex-cluster/flexcluster_test.go | 2 +- cfn-resources/test/e2e/utility/atlas_helper.go | 2 +- cfn-resources/test/e2e/utility/util.go | 2 +- .../third-party-integration/cmd/resource/resource.go | 2 +- cfn-resources/util/serviceaccountaccesslist/helpers.go | 2 +- cfn-resources/util/util.go | 2 +- 73 files changed, 75 insertions(+), 75 deletions(-) diff --git a/cfn-resources/alert-configuration/cmd/resource/resource.go b/cfn-resources/alert-configuration/cmd/resource/resource.go index b095cbfa3..581fe84cd 100644 --- a/cfn-resources/alert-configuration/cmd/resource/resource.go +++ b/cfn-resources/alert-configuration/cmd/resource/resource.go @@ -21,7 +21,7 @@ import ( "reflect" "strings" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" "github.com/aws/aws-sdk-go-v2/aws" diff --git a/cfn-resources/alert-configuration/cmd/resource/resource_test.go b/cfn-resources/alert-configuration/cmd/resource/resource_test.go index 27ac4a837..4806c9b8d 100644 --- a/cfn-resources/alert-configuration/cmd/resource/resource_test.go +++ b/cfn-resources/alert-configuration/cmd/resource/resource_test.go @@ -19,7 +19,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/alert-configuration/cmd/resource" "github.com/stretchr/testify/assert" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func TestConvertToMongoModel_ClearsAtlasReturnedThreshold(t *testing.T) { diff --git a/cfn-resources/backup-compliance-policy/cmd/resource/handlers.go b/cfn-resources/backup-compliance-policy/cmd/resource/handlers.go index 6d668dee5..52c93df8a 100644 --- a/cfn-resources/backup-compliance-policy/cmd/resource/handlers.go +++ b/cfn-resources/backup-compliance-policy/cmd/resource/handlers.go @@ -22,7 +22,7 @@ import ( "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" "github.com/aws/aws-sdk-go-v2/service/cloudformation/types" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/mongodb/mongodbatlas-cloudformation-resources/util" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/constants" diff --git a/cfn-resources/backup-compliance-policy/cmd/resource/mappings.go b/cfn-resources/backup-compliance-policy/cmd/resource/mappings.go index 6fbb51013..bbc5e2475 100644 --- a/cfn-resources/backup-compliance-policy/cmd/resource/mappings.go +++ b/cfn-resources/backup-compliance-policy/cmd/resource/mappings.go @@ -15,7 +15,7 @@ package resource import ( - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/mongodb/mongodbatlas-cloudformation-resources/util" ) diff --git a/cfn-resources/backup-compliance-policy/cmd/resource/mappings_test.go b/cfn-resources/backup-compliance-policy/cmd/resource/mappings_test.go index 1beded00d..7effd5dcf 100644 --- a/cfn-resources/backup-compliance-policy/cmd/resource/mappings_test.go +++ b/cfn-resources/backup-compliance-policy/cmd/resource/mappings_test.go @@ -21,7 +21,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/backup-compliance-policy/cmd/resource" "github.com/mongodb/mongodbatlas-cloudformation-resources/util" "github.com/stretchr/testify/assert" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func TestPolicyItemConversions(t *testing.T) { diff --git a/cfn-resources/database-user/cmd/resource/resource.go b/cfn-resources/database-user/cmd/resource/resource.go index 8f6342cda..8fed544d2 100644 --- a/cfn-resources/database-user/cmd/resource/resource.go +++ b/cfn-resources/database-user/cmd/resource/resource.go @@ -26,7 +26,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util/logger" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/progressevent" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/validator" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) var CreateRequiredFields = []string{constants.DatabaseName, constants.ProjectID, constants.Roles, constants.Username} diff --git a/cfn-resources/encryption-at-rest/cmd/resource/resource.go b/cfn-resources/encryption-at-rest/cmd/resource/resource.go index 3b8ae124f..a2c3cf2d1 100644 --- a/cfn-resources/encryption-at-rest/cmd/resource/resource.go +++ b/cfn-resources/encryption-at-rest/cmd/resource/resource.go @@ -22,7 +22,7 @@ import ( "math/big" "strconv" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" "github.com/aws/aws-sdk-go-v2/aws" diff --git a/cfn-resources/federated-query-limit/cmd/resource/resource.go b/cfn-resources/federated-query-limit/cmd/resource/resource.go index 9bfb5ea7a..9633ab78e 100644 --- a/cfn-resources/federated-query-limit/cmd/resource/resource.go +++ b/cfn-resources/federated-query-limit/cmd/resource/resource.go @@ -19,7 +19,7 @@ import ( "fmt" "net/http" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" "github.com/aws/aws-sdk-go-v2/aws" diff --git a/cfn-resources/federated-settings-identity-provider/cmd/resource/handlers.go b/cfn-resources/federated-settings-identity-provider/cmd/resource/handlers.go index ae9a2f94f..39c8875a3 100644 --- a/cfn-resources/federated-settings-identity-provider/cmd/resource/handlers.go +++ b/cfn-resources/federated-settings-identity-provider/cmd/resource/handlers.go @@ -20,7 +20,7 @@ import ( "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" "github.com/aws/aws-sdk-go-v2/service/cloudformation/types" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/mongodb/mongodbatlas-cloudformation-resources/util" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/progressevent" diff --git a/cfn-resources/federated-settings-identity-provider/cmd/resource/mappings.go b/cfn-resources/federated-settings-identity-provider/cmd/resource/mappings.go index 2e3ea4ac7..5d34d9208 100644 --- a/cfn-resources/federated-settings-identity-provider/cmd/resource/mappings.go +++ b/cfn-resources/federated-settings-identity-provider/cmd/resource/mappings.go @@ -15,7 +15,7 @@ package resource import ( - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/mongodb/mongodbatlas-cloudformation-resources/util" ) diff --git a/cfn-resources/federated-settings-identity-provider/cmd/resource/mappings_test.go b/cfn-resources/federated-settings-identity-provider/cmd/resource/mappings_test.go index cc529bee8..7f810758f 100644 --- a/cfn-resources/federated-settings-identity-provider/cmd/resource/mappings_test.go +++ b/cfn-resources/federated-settings-identity-provider/cmd/resource/mappings_test.go @@ -19,7 +19,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/federated-settings-identity-provider/cmd/resource" "github.com/stretchr/testify/assert" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) const ( diff --git a/cfn-resources/federated-settings-org-role-mapping/cmd/resource/resource.go b/cfn-resources/federated-settings-org-role-mapping/cmd/resource/resource.go index 4f5d2e1cf..32b3e64a6 100644 --- a/cfn-resources/federated-settings-org-role-mapping/cmd/resource/resource.go +++ b/cfn-resources/federated-settings-org-role-mapping/cmd/resource/resource.go @@ -28,7 +28,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util/constants" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/progressevent" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/validator" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) var CreateRequiredFields = []string{constants.FederationSettingsID, constants.OrgID, constants.ExternalGroupName, constants.RoleAssignments} diff --git a/cfn-resources/flex-cluster/cmd/resource/resource.go b/cfn-resources/flex-cluster/cmd/resource/resource.go index c3b5b9a15..e151950b4 100644 --- a/cfn-resources/flex-cluster/cmd/resource/resource.go +++ b/cfn-resources/flex-cluster/cmd/resource/resource.go @@ -23,7 +23,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util/validator" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) const callBackSeconds = 10 diff --git a/cfn-resources/flex-cluster/cmd/resource/share.go b/cfn-resources/flex-cluster/cmd/resource/share.go index 31a5a2abe..355e226d1 100644 --- a/cfn-resources/flex-cluster/cmd/resource/share.go +++ b/cfn-resources/flex-cluster/cmd/resource/share.go @@ -20,7 +20,7 @@ import ( "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" "github.com/mongodb/mongodbatlas-cloudformation-resources/util" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/constants" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) var callbackContext = map[string]any{"callbackFlex": true} diff --git a/cfn-resources/go.mod b/cfn-resources/go.mod index 9a55b33d5..387c05ea7 100644 --- a/cfn-resources/go.mod +++ b/cfn-resources/go.mod @@ -24,7 +24,7 @@ require ( github.com/tidwall/pretty v1.2.1 go.mongodb.org/atlas-sdk/v20231115002 v20231115002.1.0 go.mongodb.org/atlas-sdk/v20231115014 v20231115014.0.0 - go.mongodb.org/atlas-sdk/v20250312013 v20250312013.2.0 + go.mongodb.org/atlas-sdk/v20250312021 v20250312021.0.0 ) require ( diff --git a/cfn-resources/go.sum b/cfn-resources/go.sum index aa19aafe2..8724a7988 100644 --- a/cfn-resources/go.sum +++ b/cfn-resources/go.sum @@ -104,8 +104,8 @@ go.mongodb.org/atlas v0.38.0 h1:zfwymq20GqivGwxPZfypfUDry+WwMGVui97z1d8V4bU= go.mongodb.org/atlas v0.38.0/go.mod h1:DJYtM+vsEpPEMSkQzJnFHrT0sP7ev6cseZc/GGjJYG8= go.mongodb.org/atlas-sdk/v20231115002 v20231115002.1.0 h1:x6nnq2pUIP9mN4WLD4/EseBzV88OmSgexxYchPilgno= go.mongodb.org/atlas-sdk/v20231115002 v20231115002.1.0/go.mod h1:el7cm23kEiiw72HAYimhNweKqp/ubHsNJk+Mk30yJhM= -go.mongodb.org/atlas-sdk/v20250312013 v20250312013.2.0 h1:RclCsea9qDsYn6eeHdguc/uB4MrT5+Xmm+Y1DdMV6SE= -go.mongodb.org/atlas-sdk/v20250312013 v20250312013.2.0/go.mod h1:dua7g/y3zGGBgnvMdXV2BjUVkRI4kJfGnYXMlje0Edc= +go.mongodb.org/atlas-sdk/v20250312021 v20250312021.0.0 h1:bZYcZVnXNr7QO6uIRawTMxmEk2otUY4U3JC57DfKHgw= +go.mongodb.org/atlas-sdk/v20250312021 v20250312021.0.0/go.mod h1:zp4x/Ub4/nYjlMRSSVd+IRr5AgZDE+tmBtRcTpNEPs4= golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs= golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q= golang.org/x/text v0.38.0 h1:sXmwo9DwP3OK9EZ7PqAdaooSGozfl/3a6/xJcbzPRhE= diff --git a/cfn-resources/log-integration/cmd/resource/mappings.go b/cfn-resources/log-integration/cmd/resource/mappings.go index 768263e06..51cce3aa3 100644 --- a/cfn-resources/log-integration/cmd/resource/mappings.go +++ b/cfn-resources/log-integration/cmd/resource/mappings.go @@ -14,7 +14,7 @@ package resource -import "go.mongodb.org/atlas-sdk/v20250312013/admin" +import "go.mongodb.org/atlas-sdk/v20250312021/admin" func NewLogIntegrationCreateRequest(model *Model) *admin.S3LogIntegrationRequest { if model == nil { diff --git a/cfn-resources/log-integration/cmd/resource/mappings_test.go b/cfn-resources/log-integration/cmd/resource/mappings_test.go index 309f9befe..643648f19 100644 --- a/cfn-resources/log-integration/cmd/resource/mappings_test.go +++ b/cfn-resources/log-integration/cmd/resource/mappings_test.go @@ -21,7 +21,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func TestNewLogIntegrationCreateRequest(t *testing.T) { diff --git a/cfn-resources/maintenance-window/cmd/resource/resource.go b/cfn-resources/maintenance-window/cmd/resource/resource.go index 723b99ed3..62b33f1f3 100644 --- a/cfn-resources/maintenance-window/cmd/resource/resource.go +++ b/cfn-resources/maintenance-window/cmd/resource/resource.go @@ -27,7 +27,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util/logger" progress_events "github.com/mongodb/mongodbatlas-cloudformation-resources/util/progressevent" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/validator" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) var RequiredFields = []string{constants.ProjectID} diff --git a/cfn-resources/mongodb-employee-access-grant/cmd/resource/handlers.go b/cfn-resources/mongodb-employee-access-grant/cmd/resource/handlers.go index 3963250e5..a64eaf022 100644 --- a/cfn-resources/mongodb-employee-access-grant/cmd/resource/handlers.go +++ b/cfn-resources/mongodb-employee-access-grant/cmd/resource/handlers.go @@ -23,7 +23,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/constants" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/progressevent" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func HandleCreate(req *handler.Request, client *util.MongoDBClient, model *Model) handler.ProgressEvent { diff --git a/cfn-resources/mongodb-employee-access-grant/cmd/resource/resource.go b/cfn-resources/mongodb-employee-access-grant/cmd/resource/resource.go index c70abbd96..8d6961217 100644 --- a/cfn-resources/mongodb-employee-access-grant/cmd/resource/resource.go +++ b/cfn-resources/mongodb-employee-access-grant/cmd/resource/resource.go @@ -21,7 +21,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/constants" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/validator" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) var ( diff --git a/cfn-resources/organization/cmd/resource/resource.go b/cfn-resources/organization/cmd/resource/resource.go index 18a5590c0..17a6c993d 100644 --- a/cfn-resources/organization/cmd/resource/resource.go +++ b/cfn-resources/organization/cmd/resource/resource.go @@ -21,7 +21,7 @@ import ( "net/http" "time" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" "github.com/aws/aws-sdk-go-v2/service/cloudformation/types" diff --git a/cfn-resources/private-endpoint-aws/cmd/resource/resource.go b/cfn-resources/private-endpoint-aws/cmd/resource/resource.go index c6c1fff04..5784199b8 100644 --- a/cfn-resources/private-endpoint-aws/cmd/resource/resource.go +++ b/cfn-resources/private-endpoint-aws/cmd/resource/resource.go @@ -21,7 +21,7 @@ import ( "net/http" "strings" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" "github.com/aws/aws-sdk-go-v2/aws" diff --git a/cfn-resources/project-service-account-access-list-entry/cmd/resource/handlers.go b/cfn-resources/project-service-account-access-list-entry/cmd/resource/handlers.go index 29c4d2a24..d2941bfce 100644 --- a/cfn-resources/project-service-account-access-list-entry/cmd/resource/handlers.go +++ b/cfn-resources/project-service-account-access-list-entry/cmd/resource/handlers.go @@ -25,7 +25,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util/constants" progress_events "github.com/mongodb/mongodbatlas-cloudformation-resources/util/progressevent" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/serviceaccountaccesslist" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func getCIDROrIP(model *Model) string { diff --git a/cfn-resources/project-service-account-access-list-entry/cmd/resource/mappings.go b/cfn-resources/project-service-account-access-list-entry/cmd/resource/mappings.go index e751fbb3c..66bdec68b 100644 --- a/cfn-resources/project-service-account-access-list-entry/cmd/resource/mappings.go +++ b/cfn-resources/project-service-account-access-list-entry/cmd/resource/mappings.go @@ -16,7 +16,7 @@ package resource import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func UpdateModelFromEntry(model *Model, entry *admin.ServiceAccountIPAccessListEntry) { diff --git a/cfn-resources/project-service-account-access-list-entry/cmd/resource/mappings_test.go b/cfn-resources/project-service-account-access-list-entry/cmd/resource/mappings_test.go index 9761f7285..bb8db33af 100644 --- a/cfn-resources/project-service-account-access-list-entry/cmd/resource/mappings_test.go +++ b/cfn-resources/project-service-account-access-list-entry/cmd/resource/mappings_test.go @@ -20,7 +20,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/project-service-account-access-list-entry/cmd/resource" "github.com/stretchr/testify/assert" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func TestUpdateModelFromEntry(t *testing.T) { diff --git a/cfn-resources/project-service-account-secret/cmd/resource/handlers.go b/cfn-resources/project-service-account-secret/cmd/resource/handlers.go index 8b95a885e..fb0ccefd8 100644 --- a/cfn-resources/project-service-account-secret/cmd/resource/handlers.go +++ b/cfn-resources/project-service-account-secret/cmd/resource/handlers.go @@ -24,7 +24,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/constants" progress_events "github.com/mongodb/mongodbatlas-cloudformation-resources/util/progressevent" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func handleCreate(client *util.MongoDBClient, model *Model) handler.ProgressEvent { diff --git a/cfn-resources/project-service-account-secret/cmd/resource/mappings.go b/cfn-resources/project-service-account-secret/cmd/resource/mappings.go index 353f85d15..3b4219554 100644 --- a/cfn-resources/project-service-account-secret/cmd/resource/mappings.go +++ b/cfn-resources/project-service-account-secret/cmd/resource/mappings.go @@ -16,7 +16,7 @@ package resource import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func UpdateModelFromSecret(model *Model, secret *admin.ServiceAccountSecret) { diff --git a/cfn-resources/project-service-account-secret/cmd/resource/mappings_test.go b/cfn-resources/project-service-account-secret/cmd/resource/mappings_test.go index cc6ae7fd0..10b7fec77 100644 --- a/cfn-resources/project-service-account-secret/cmd/resource/mappings_test.go +++ b/cfn-resources/project-service-account-secret/cmd/resource/mappings_test.go @@ -20,7 +20,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/project-service-account-secret/cmd/resource" "github.com/stretchr/testify/assert" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func TestUpdateModelFromSecret(t *testing.T) { diff --git a/cfn-resources/project-service-account/cmd/resource/handlers.go b/cfn-resources/project-service-account/cmd/resource/handlers.go index 341209220..6ece49424 100644 --- a/cfn-resources/project-service-account/cmd/resource/handlers.go +++ b/cfn-resources/project-service-account/cmd/resource/handlers.go @@ -19,7 +19,7 @@ import ( "fmt" "net/http" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" "github.com/aws/aws-sdk-go-v2/service/cloudformation/types" diff --git a/cfn-resources/project-service-account/cmd/resource/mappings.go b/cfn-resources/project-service-account/cmd/resource/mappings.go index ee0a8c838..228c70b1c 100644 --- a/cfn-resources/project-service-account/cmd/resource/mappings.go +++ b/cfn-resources/project-service-account/cmd/resource/mappings.go @@ -19,7 +19,7 @@ import ( "fmt" "sort" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/mongodb/mongodbatlas-cloudformation-resources/util" ) diff --git a/cfn-resources/project-service-account/cmd/resource/mappings_test.go b/cfn-resources/project-service-account/cmd/resource/mappings_test.go index 6e216c240..d1df46b33 100644 --- a/cfn-resources/project-service-account/cmd/resource/mappings_test.go +++ b/cfn-resources/project-service-account/cmd/resource/mappings_test.go @@ -18,7 +18,7 @@ import ( "testing" "time" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/mongodb/mongodbatlas-cloudformation-resources/project-service-account/cmd/resource" "github.com/stretchr/testify/assert" diff --git a/cfn-resources/resource-policy/cmd/resource/mappings.go b/cfn-resources/resource-policy/cmd/resource/mappings.go index ca28b6404..388fc782c 100644 --- a/cfn-resources/resource-policy/cmd/resource/mappings.go +++ b/cfn-resources/resource-policy/cmd/resource/mappings.go @@ -15,7 +15,7 @@ package resource import ( - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/mongodb/mongodbatlas-cloudformation-resources/util" ) diff --git a/cfn-resources/resource-policy/cmd/resource/mappings_test.go b/cfn-resources/resource-policy/cmd/resource/mappings_test.go index dc22170aa..76a2851d3 100644 --- a/cfn-resources/resource-policy/cmd/resource/mappings_test.go +++ b/cfn-resources/resource-policy/cmd/resource/mappings_test.go @@ -17,7 +17,7 @@ package resource_test import ( "testing" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/mongodb/mongodbatlas-cloudformation-resources/resource-policy/cmd/resource" "github.com/stretchr/testify/assert" diff --git a/cfn-resources/resource-policy/cmd/resource/resource.go b/cfn-resources/resource-policy/cmd/resource/resource.go index 03a3e47c7..684656c65 100644 --- a/cfn-resources/resource-policy/cmd/resource/resource.go +++ b/cfn-resources/resource-policy/cmd/resource/resource.go @@ -19,7 +19,7 @@ import ( "fmt" "net/http" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" "github.com/aws/aws-sdk-go-v2/service/cloudformation/types" diff --git a/cfn-resources/search-deployment/cmd/resource/mappings.go b/cfn-resources/search-deployment/cmd/resource/mappings.go index 06f2020e8..72506e7f4 100644 --- a/cfn-resources/search-deployment/cmd/resource/mappings.go +++ b/cfn-resources/search-deployment/cmd/resource/mappings.go @@ -14,7 +14,7 @@ package resource -import "go.mongodb.org/atlas-sdk/v20250312013/admin" +import "go.mongodb.org/atlas-sdk/v20250312021/admin" func NewCFNSearchDeployment(prevModel *Model, apiResp *admin.ApiSearchDeploymentResponse) Model { respSpecs := apiResp.GetSpecs() diff --git a/cfn-resources/search-deployment/cmd/resource/mappings_test.go b/cfn-resources/search-deployment/cmd/resource/mappings_test.go index 9b2d11236..e7e959c87 100644 --- a/cfn-resources/search-deployment/cmd/resource/mappings_test.go +++ b/cfn-resources/search-deployment/cmd/resource/mappings_test.go @@ -19,7 +19,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/search-deployment/cmd/resource" "github.com/stretchr/testify/assert" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) type sdkToCFNModelTestCase struct { diff --git a/cfn-resources/search-deployment/cmd/resource/resource.go b/cfn-resources/search-deployment/cmd/resource/resource.go index 5afd50df4..06c704175 100644 --- a/cfn-resources/search-deployment/cmd/resource/resource.go +++ b/cfn-resources/search-deployment/cmd/resource/resource.go @@ -20,7 +20,7 @@ import ( "net/http" "strings" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" "github.com/aws/aws-sdk-go-v2/service/cloudformation/types" diff --git a/cfn-resources/search-deployment/cmd/resource/state_transition.go b/cfn-resources/search-deployment/cmd/resource/state_transition.go index 480ac2353..df787fc98 100644 --- a/cfn-resources/search-deployment/cmd/resource/state_transition.go +++ b/cfn-resources/search-deployment/cmd/resource/state_transition.go @@ -23,7 +23,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/constants" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/progressevent" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func HandleStateTransition(connV2 admin.APIClient, currentModel *Model, targetState string) handler.ProgressEvent { diff --git a/cfn-resources/search-deployment/cmd/resource/state_transition_test.go b/cfn-resources/search-deployment/cmd/resource/state_transition_test.go index 6d4ee53de..d88157ef8 100644 --- a/cfn-resources/search-deployment/cmd/resource/state_transition_test.go +++ b/cfn-resources/search-deployment/cmd/resource/state_transition_test.go @@ -24,8 +24,8 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util/constants" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "go.mongodb.org/atlas-sdk/v20250312013/admin" - "go.mongodb.org/atlas-sdk/v20250312013/mockadmin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" + "go.mongodb.org/atlas-sdk/v20250312021/mockadmin" ) type stateTransitionTestCase struct { diff --git a/cfn-resources/search-index/cmd/resource/resource.go b/cfn-resources/search-index/cmd/resource/resource.go index e5695a58a..e45f04805 100644 --- a/cfn-resources/search-index/cmd/resource/resource.go +++ b/cfn-resources/search-index/cmd/resource/resource.go @@ -29,7 +29,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util/progressevent" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/validator" "github.com/spf13/cast" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func setup() { diff --git a/cfn-resources/service-account-access-list-entry/cmd/resource/handlers.go b/cfn-resources/service-account-access-list-entry/cmd/resource/handlers.go index cc90aad10..0af9b88e4 100644 --- a/cfn-resources/service-account-access-list-entry/cmd/resource/handlers.go +++ b/cfn-resources/service-account-access-list-entry/cmd/resource/handlers.go @@ -25,7 +25,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util/constants" progress_events "github.com/mongodb/mongodbatlas-cloudformation-resources/util/progressevent" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/serviceaccountaccesslist" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func getCIDROrIP(model *Model) string { diff --git a/cfn-resources/service-account-access-list-entry/cmd/resource/mappings.go b/cfn-resources/service-account-access-list-entry/cmd/resource/mappings.go index e751fbb3c..66bdec68b 100644 --- a/cfn-resources/service-account-access-list-entry/cmd/resource/mappings.go +++ b/cfn-resources/service-account-access-list-entry/cmd/resource/mappings.go @@ -16,7 +16,7 @@ package resource import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func UpdateModelFromEntry(model *Model, entry *admin.ServiceAccountIPAccessListEntry) { diff --git a/cfn-resources/service-account-access-list-entry/cmd/resource/mappings_test.go b/cfn-resources/service-account-access-list-entry/cmd/resource/mappings_test.go index a8d0ae94e..f707be425 100644 --- a/cfn-resources/service-account-access-list-entry/cmd/resource/mappings_test.go +++ b/cfn-resources/service-account-access-list-entry/cmd/resource/mappings_test.go @@ -20,7 +20,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/service-account-access-list-entry/cmd/resource" "github.com/stretchr/testify/assert" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func TestUpdateModelFromEntry(t *testing.T) { diff --git a/cfn-resources/service-account-project-assignment/cmd/resource/handlers.go b/cfn-resources/service-account-project-assignment/cmd/resource/handlers.go index 0e062b0b4..d2b7e74f5 100644 --- a/cfn-resources/service-account-project-assignment/cmd/resource/handlers.go +++ b/cfn-resources/service-account-project-assignment/cmd/resource/handlers.go @@ -25,7 +25,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/constants" progress_events "github.com/mongodb/mongodbatlas-cloudformation-resources/util/progressevent" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) const ( diff --git a/cfn-resources/service-account-secret/cmd/resource/handlers.go b/cfn-resources/service-account-secret/cmd/resource/handlers.go index 57fa4597a..4b8b5f6c2 100644 --- a/cfn-resources/service-account-secret/cmd/resource/handlers.go +++ b/cfn-resources/service-account-secret/cmd/resource/handlers.go @@ -24,7 +24,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/constants" progress_events "github.com/mongodb/mongodbatlas-cloudformation-resources/util/progressevent" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func handleCreate(client *util.MongoDBClient, model *Model) handler.ProgressEvent { diff --git a/cfn-resources/service-account-secret/cmd/resource/mappings.go b/cfn-resources/service-account-secret/cmd/resource/mappings.go index 353f85d15..3b4219554 100644 --- a/cfn-resources/service-account-secret/cmd/resource/mappings.go +++ b/cfn-resources/service-account-secret/cmd/resource/mappings.go @@ -16,7 +16,7 @@ package resource import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func UpdateModelFromSecret(model *Model, secret *admin.ServiceAccountSecret) { diff --git a/cfn-resources/service-account-secret/cmd/resource/mappings_test.go b/cfn-resources/service-account-secret/cmd/resource/mappings_test.go index 8d13fa515..4f5427729 100644 --- a/cfn-resources/service-account-secret/cmd/resource/mappings_test.go +++ b/cfn-resources/service-account-secret/cmd/resource/mappings_test.go @@ -20,7 +20,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/service-account-secret/cmd/resource" "github.com/stretchr/testify/assert" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func TestUpdateModelFromSecret(t *testing.T) { diff --git a/cfn-resources/service-account/cmd/resource/mappings.go b/cfn-resources/service-account/cmd/resource/mappings.go index 937836a16..fbad0e1c7 100644 --- a/cfn-resources/service-account/cmd/resource/mappings.go +++ b/cfn-resources/service-account/cmd/resource/mappings.go @@ -17,7 +17,7 @@ package resource import ( "sort" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/mongodb/mongodbatlas-cloudformation-resources/util" ) diff --git a/cfn-resources/service-account/cmd/resource/mappings_test.go b/cfn-resources/service-account/cmd/resource/mappings_test.go index 684d4a495..bc5fbdc2d 100644 --- a/cfn-resources/service-account/cmd/resource/mappings_test.go +++ b/cfn-resources/service-account/cmd/resource/mappings_test.go @@ -18,7 +18,7 @@ import ( "testing" "time" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/mongodb/mongodbatlas-cloudformation-resources/service-account/cmd/resource" "github.com/stretchr/testify/assert" diff --git a/cfn-resources/stream-connection/cmd/resource/mappings.go b/cfn-resources/stream-connection/cmd/resource/mappings.go index c61cc2c5f..bbdd0405d 100644 --- a/cfn-resources/stream-connection/cmd/resource/mappings.go +++ b/cfn-resources/stream-connection/cmd/resource/mappings.go @@ -15,7 +15,7 @@ package resource import ( - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/mongodb/mongodbatlas-cloudformation-resources/util" ) diff --git a/cfn-resources/stream-connection/cmd/resource/mappings_test.go b/cfn-resources/stream-connection/cmd/resource/mappings_test.go index 623798af5..a44129c08 100644 --- a/cfn-resources/stream-connection/cmd/resource/mappings_test.go +++ b/cfn-resources/stream-connection/cmd/resource/mappings_test.go @@ -17,7 +17,7 @@ package resource_test import ( "testing" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/aws/smithy-go/ptr" "github.com/mongodb/mongodbatlas-cloudformation-resources/stream-connection/cmd/resource" diff --git a/cfn-resources/stream-connection/cmd/resource/resource.go b/cfn-resources/stream-connection/cmd/resource/resource.go index e7aa483a0..14685f47f 100644 --- a/cfn-resources/stream-connection/cmd/resource/resource.go +++ b/cfn-resources/stream-connection/cmd/resource/resource.go @@ -19,7 +19,7 @@ import ( "fmt" "net/http" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" "github.com/aws/aws-sdk-go-v2/service/cloudformation/types" diff --git a/cfn-resources/stream-privatelink-endpoint/cmd/resource/callbacks.go b/cfn-resources/stream-privatelink-endpoint/cmd/resource/callbacks.go index 79babc8dc..f65b99e20 100644 --- a/cfn-resources/stream-privatelink-endpoint/cmd/resource/callbacks.go +++ b/cfn-resources/stream-privatelink-endpoint/cmd/resource/callbacks.go @@ -17,7 +17,7 @@ package resource import ( "context" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" diff --git a/cfn-resources/stream-privatelink-endpoint/cmd/resource/handlers.go b/cfn-resources/stream-privatelink-endpoint/cmd/resource/handlers.go index dd9cec672..c0e7e7328 100644 --- a/cfn-resources/stream-privatelink-endpoint/cmd/resource/handlers.go +++ b/cfn-resources/stream-privatelink-endpoint/cmd/resource/handlers.go @@ -17,7 +17,7 @@ package resource import ( "context" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" "github.com/aws/aws-sdk-go-v2/service/cloudformation/types" diff --git a/cfn-resources/stream-privatelink-endpoint/cmd/resource/helpers.go b/cfn-resources/stream-privatelink-endpoint/cmd/resource/helpers.go index 81f94a7b1..929fc7c27 100644 --- a/cfn-resources/stream-privatelink-endpoint/cmd/resource/helpers.go +++ b/cfn-resources/stream-privatelink-endpoint/cmd/resource/helpers.go @@ -19,7 +19,7 @@ import ( "net/http" "strings" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" "github.com/aws/aws-sdk-go-v2/service/cloudformation/types" diff --git a/cfn-resources/stream-privatelink-endpoint/cmd/resource/mappings.go b/cfn-resources/stream-privatelink-endpoint/cmd/resource/mappings.go index d67100f5b..fc051abfb 100644 --- a/cfn-resources/stream-privatelink-endpoint/cmd/resource/mappings.go +++ b/cfn-resources/stream-privatelink-endpoint/cmd/resource/mappings.go @@ -15,7 +15,7 @@ package resource import ( - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/mongodb/mongodbatlas-cloudformation-resources/util" ) diff --git a/cfn-resources/stream-privatelink-endpoint/cmd/resource/mappings_test.go b/cfn-resources/stream-privatelink-endpoint/cmd/resource/mappings_test.go index 937bdf296..a4727b7d0 100644 --- a/cfn-resources/stream-privatelink-endpoint/cmd/resource/mappings_test.go +++ b/cfn-resources/stream-privatelink-endpoint/cmd/resource/mappings_test.go @@ -21,7 +21,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func TestUpdateModel(t *testing.T) { diff --git a/cfn-resources/stream-processor/cmd/resource/callbacks.go b/cfn-resources/stream-processor/cmd/resource/callbacks.go index 1c42f2230..ec3bbc66a 100644 --- a/cfn-resources/stream-processor/cmd/resource/callbacks.go +++ b/cfn-resources/stream-processor/cmd/resource/callbacks.go @@ -19,7 +19,7 @@ import ( "fmt" "maps" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" diff --git a/cfn-resources/stream-processor/cmd/resource/handlers.go b/cfn-resources/stream-processor/cmd/resource/handlers.go index 91abee2e8..c70813124 100644 --- a/cfn-resources/stream-processor/cmd/resource/handlers.go +++ b/cfn-resources/stream-processor/cmd/resource/handlers.go @@ -19,7 +19,7 @@ import ( "fmt" "time" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" diff --git a/cfn-resources/stream-processor/cmd/resource/helpers.go b/cfn-resources/stream-processor/cmd/resource/helpers.go index c27b6596a..84c107013 100644 --- a/cfn-resources/stream-processor/cmd/resource/helpers.go +++ b/cfn-resources/stream-processor/cmd/resource/helpers.go @@ -20,7 +20,7 @@ import ( "net/http" "time" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" diff --git a/cfn-resources/stream-processor/cmd/resource/mappings.go b/cfn-resources/stream-processor/cmd/resource/mappings.go index bbe9eb2fe..d695f02e6 100644 --- a/cfn-resources/stream-processor/cmd/resource/mappings.go +++ b/cfn-resources/stream-processor/cmd/resource/mappings.go @@ -18,7 +18,7 @@ import ( "encoding/json" "fmt" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/mongodb/mongodbatlas-cloudformation-resources/util" ) diff --git a/cfn-resources/stream-processor/cmd/resource/mappings_test.go b/cfn-resources/stream-processor/cmd/resource/mappings_test.go index 6df970752..2c060793b 100644 --- a/cfn-resources/stream-processor/cmd/resource/mappings_test.go +++ b/cfn-resources/stream-processor/cmd/resource/mappings_test.go @@ -22,7 +22,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) func assertJSONEqual(t *testing.T, expected, actual string) { diff --git a/cfn-resources/stream-workspace/cmd/resource/mappings.go b/cfn-resources/stream-workspace/cmd/resource/mappings.go index 00d5f84a9..e0a7d4d85 100644 --- a/cfn-resources/stream-workspace/cmd/resource/mappings.go +++ b/cfn-resources/stream-workspace/cmd/resource/mappings.go @@ -14,7 +14,7 @@ package resource -import "go.mongodb.org/atlas-sdk/v20250312013/admin" +import "go.mongodb.org/atlas-sdk/v20250312021/admin" func NewStreamWorkspaceCreateReq(model *Model) *admin.StreamsTenant { if model == nil { diff --git a/cfn-resources/stream-workspace/cmd/resource/mappings_test.go b/cfn-resources/stream-workspace/cmd/resource/mappings_test.go index 73a8cedcb..f8a7617ee 100644 --- a/cfn-resources/stream-workspace/cmd/resource/mappings_test.go +++ b/cfn-resources/stream-workspace/cmd/resource/mappings_test.go @@ -19,7 +19,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/stream-workspace/cmd/resource" "github.com/stretchr/testify/assert" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) var ( diff --git a/cfn-resources/stream-workspace/cmd/resource/resource.go b/cfn-resources/stream-workspace/cmd/resource/resource.go index 9aee20e9d..6a82ec971 100644 --- a/cfn-resources/stream-workspace/cmd/resource/resource.go +++ b/cfn-resources/stream-workspace/cmd/resource/resource.go @@ -26,7 +26,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util/constants" progress_events "github.com/mongodb/mongodbatlas-cloudformation-resources/util/progressevent" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/validator" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) var CreateRequiredFields = []string{"WorkspaceName", constants.ProjectID, constants.DataProcessRegion} diff --git a/cfn-resources/test/e2e/cluster/cluster_test.go b/cfn-resources/test/e2e/cluster/cluster_test.go index 2df54d935..d4990fb67 100644 --- a/cfn-resources/test/e2e/cluster/cluster_test.go +++ b/cfn-resources/test/e2e/cluster/cluster_test.go @@ -25,7 +25,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/util" "github.com/stretchr/testify/assert" admin20231115014 "go.mongodb.org/atlas-sdk/v20231115014/admin" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) type localTestContext struct { diff --git a/cfn-resources/test/e2e/flex-cluster/flexcluster_test.go b/cfn-resources/test/e2e/flex-cluster/flexcluster_test.go index 5c64ac305..8b8c0a115 100644 --- a/cfn-resources/test/e2e/flex-cluster/flexcluster_test.go +++ b/cfn-resources/test/e2e/flex-cluster/flexcluster_test.go @@ -22,7 +22,7 @@ import ( "github.com/mongodb/mongodbatlas-cloudformation-resources/test/e2e/utility" "github.com/stretchr/testify/assert" admin20231115014 "go.mongodb.org/atlas-sdk/v20231115014/admin" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) type localTestContext struct { diff --git a/cfn-resources/test/e2e/utility/atlas_helper.go b/cfn-resources/test/e2e/utility/atlas_helper.go index 1a476ce0a..d6c70b492 100644 --- a/cfn-resources/test/e2e/utility/atlas_helper.go +++ b/cfn-resources/test/e2e/utility/atlas_helper.go @@ -24,7 +24,7 @@ import ( "github.com/mongodb-forks/digest" "github.com/mongodb/mongodbatlas-cloudformation-resources/util" admin20231115014 "go.mongodb.org/atlas-sdk/v20231115014/admin" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) type AtlasEnvOptions struct { diff --git a/cfn-resources/test/e2e/utility/util.go b/cfn-resources/test/e2e/utility/util.go index 954a8b99f..d6eaf558a 100644 --- a/cfn-resources/test/e2e/utility/util.go +++ b/cfn-resources/test/e2e/utility/util.go @@ -27,7 +27,7 @@ import ( "testing" admin20231115014 "go.mongodb.org/atlas-sdk/v20231115014/admin" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" cfn "github.com/aws/aws-sdk-go-v2/service/cloudformation" ) diff --git a/cfn-resources/third-party-integration/cmd/resource/resource.go b/cfn-resources/third-party-integration/cmd/resource/resource.go index 5c8aa2c5a..fae463ca4 100644 --- a/cfn-resources/third-party-integration/cmd/resource/resource.go +++ b/cfn-resources/third-party-integration/cmd/resource/resource.go @@ -25,7 +25,7 @@ import ( log "github.com/mongodb/mongodbatlas-cloudformation-resources/util/logger" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/progressevent" "github.com/mongodb/mongodbatlas-cloudformation-resources/util/validator" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) var RequiredFields = []string{constants.IntegrationType, constants.ProjectID} diff --git a/cfn-resources/util/serviceaccountaccesslist/helpers.go b/cfn-resources/util/serviceaccountaccesslist/helpers.go index 7460b073d..4bcffc776 100644 --- a/cfn-resources/util/serviceaccountaccesslist/helpers.go +++ b/cfn-resources/util/serviceaccountaccesslist/helpers.go @@ -18,7 +18,7 @@ import ( "context" "net/http" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" ) const ItemsPerPage = 500 diff --git a/cfn-resources/util/util.go b/cfn-resources/util/util.go index b03472d04..f1ee3f25b 100644 --- a/cfn-resources/util/util.go +++ b/cfn-resources/util/util.go @@ -29,7 +29,7 @@ import ( admin20231115002 "go.mongodb.org/atlas-sdk/v20231115002/admin" admin20231115014 "go.mongodb.org/atlas-sdk/v20231115014/admin" - "go.mongodb.org/atlas-sdk/v20250312013/admin" + "go.mongodb.org/atlas-sdk/v20250312021/admin" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/logging"