From 3023103d8a72123884836c97fd4b3c19435909e1 Mon Sep 17 00:00:00 2001 From: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com> Date: Tue, 16 Jun 2026 10:16:22 +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..b33564e66 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/v20250312020/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..56ee483d5 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/v20250312020/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..3f086f65d 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/v20250312020/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..252b004d5 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/v20250312020/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..d384197bd 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/v20250312020/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..6d6028c57 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/v20250312020/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..92262c264 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/v20250312020/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..a2288ce58 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/v20250312020/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..6750db76d 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/v20250312020/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..32297d46b 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/v20250312020/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..444cb45dc 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/v20250312020/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..51b3702d9 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/v20250312020/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..4eb6312bf 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/v20250312020/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..72e830394 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/v20250312020/admin" ) var callbackContext = map[string]any{"callbackFlex": true} diff --git a/cfn-resources/go.mod b/cfn-resources/go.mod index 5146530e4..182b69fa0 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/v20250312020 v20250312020.1.0 ) require ( diff --git a/cfn-resources/go.sum b/cfn-resources/go.sum index 9ed83234e..26d2a02d3 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/v20250312020 v20250312020.1.0 h1:Ba+iX5yraZiwXGs6mCyjWxMDbs5bC7kLGYpHu3R8RGM= +go.mongodb.org/atlas-sdk/v20250312020 v20250312020.1.0/go.mod h1:8OGHqMpalr/OTRHA9kjSSg2EKfig5lrNEeNaVYphYYo= 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..9b7a276b6 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/v20250312020/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..31e02f8a9 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/v20250312020/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..8633f8158 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/v20250312020/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..0e539ece2 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/v20250312020/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..c1760e7ce 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/v20250312020/admin" ) var ( diff --git a/cfn-resources/organization/cmd/resource/resource.go b/cfn-resources/organization/cmd/resource/resource.go index 18a5590c0..89134db37 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/v20250312020/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..498d7aead 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/v20250312020/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..95cb2525c 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/v20250312020/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..65ead9070 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/v20250312020/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..4520872dd 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/v20250312020/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..2a29c9c2e 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/v20250312020/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..9ea149615 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/v20250312020/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..89a2cc7d3 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/v20250312020/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..a970f61ae 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/v20250312020/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..7d18ae485 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/v20250312020/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..a1b9313d5 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/v20250312020/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..de73a5397 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/v20250312020/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..2fc04481e 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/v20250312020/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..d7fb28ccc 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/v20250312020/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..d7742f53e 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/v20250312020/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..abdaa6d1b 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/v20250312020/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..fc679d637 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/v20250312020/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..1e4fc6fec 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/v20250312020/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..6afef8fa4 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/v20250312020/admin" + "go.mongodb.org/atlas-sdk/v20250312020/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..95ad847e8 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/v20250312020/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..b985c191e 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/v20250312020/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..65ead9070 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/v20250312020/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..f7e8d5b16 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/v20250312020/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..aa5a604f2 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/v20250312020/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..3df5a6474 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/v20250312020/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..9ea149615 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/v20250312020/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..8ecc86ea6 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/v20250312020/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..bf3a9ee50 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/v20250312020/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..8adfbd124 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/v20250312020/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..981ae78ef 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/v20250312020/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..43cbb0908 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/v20250312020/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..23c4ed95f 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/v20250312020/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..f183198b9 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/v20250312020/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..4d1bf209d 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/v20250312020/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..e02f09464 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/v20250312020/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..16338652a 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/v20250312020/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..6f09abe47 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/v20250312020/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..689672af2 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/v20250312020/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..0e44c8402 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/v20250312020/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..85fd28735 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/v20250312020/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..c9fbc0612 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/v20250312020/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..98816ec2e 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/v20250312020/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..566f370aa 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/v20250312020/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..6b1be0302 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/v20250312020/admin" ) var ( diff --git a/cfn-resources/stream-workspace/cmd/resource/resource.go b/cfn-resources/stream-workspace/cmd/resource/resource.go index 9aee20e9d..5730061f4 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/v20250312020/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..d08ec1aec 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/v20250312020/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..28669970d 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/v20250312020/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..0505dcbe8 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/v20250312020/admin" ) type AtlasEnvOptions struct { diff --git a/cfn-resources/test/e2e/utility/util.go b/cfn-resources/test/e2e/utility/util.go index 954a8b99f..c95610317 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/v20250312020/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..332338f68 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/v20250312020/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..7e1e75f1d 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/v20250312020/admin" ) const ItemsPerPage = 500 diff --git a/cfn-resources/util/util.go b/cfn-resources/util/util.go index b03472d04..8aebae1d0 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/v20250312020/admin" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/logging"