From e026a141bc0d39be1bbaae8d5a99f8927993bf99 Mon Sep 17 00:00:00 2001 From: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com> Date: Tue, 15 Sep 2026 08:42:45 +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..d52c9adc8 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/v20250312025/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..ffb3c04df 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/v20250312025/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..1fafda0ac 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/v20250312025/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..5f99bd00a 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/v20250312025/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..76b707ec5 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/v20250312025/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..67d929015 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/v20250312025/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..49de03d93 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/v20250312025/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..1a68626d5 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/v20250312025/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..07fc5b0d8 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/v20250312025/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..bd27ab018 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/v20250312025/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..595874291 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/v20250312025/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..02343f2b5 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/v20250312025/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..ed6eb4079 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/v20250312025/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..f61e59fb0 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/v20250312025/admin" ) var callbackContext = map[string]any{"callbackFlex": true} diff --git a/cfn-resources/go.mod b/cfn-resources/go.mod index 3ef32c364..2aae60852 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/v20250312025 v20250312025.0.0 ) require ( diff --git a/cfn-resources/go.sum b/cfn-resources/go.sum index 1062741ab..47ae48d08 100644 --- a/cfn-resources/go.sum +++ b/cfn-resources/go.sum @@ -102,8 +102,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/v20250312025 v20250312025.0.0 h1:en+gq7TEixVJAQvvjYw2xtDuV/nqlgOj09fyh5VbOKg= +go.mongodb.org/atlas-sdk/v20250312025 v20250312025.0.0/go.mod h1:zBPi1EIBUgr2wojZSfZaxUxPHf0Y2j1O1j/7pQi8JlQ= go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= golang.org/x/oauth2 v0.37.0 h1:JUlcxA8oAtauLfiH8FX2/FkAWHAdi0QtGCGc+hofE98= diff --git a/cfn-resources/log-integration/cmd/resource/mappings.go b/cfn-resources/log-integration/cmd/resource/mappings.go index 768263e06..eff05651a 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/v20250312025/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..2992c0e85 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/v20250312025/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..dbb82a58f 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/v20250312025/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..8d41d8177 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/v20250312025/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..8b616ab1d 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/v20250312025/admin" ) var ( diff --git a/cfn-resources/organization/cmd/resource/resource.go b/cfn-resources/organization/cmd/resource/resource.go index 18a5590c0..d772671e8 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/v20250312025/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..7fdf8ed33 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/v20250312025/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..5fd4ee7c5 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/v20250312025/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..45fe37c5a 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/v20250312025/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..a382fa8a0 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/v20250312025/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..ef69c456e 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/v20250312025/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..87c544ac2 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/v20250312025/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..bf5e3074e 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/v20250312025/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..804b1e84c 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/v20250312025/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..6a444ad50 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/v20250312025/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..5f5a727a1 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/v20250312025/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..9ab72e570 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/v20250312025/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..be4a00851 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/v20250312025/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..c9c1f656a 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/v20250312025/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..c9d60b622 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/v20250312025/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..127f533b5 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/v20250312025/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..d4f2faef4 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/v20250312025/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..45542f41c 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/v20250312025/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..7330df4d4 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/v20250312025/admin" + "go.mongodb.org/atlas-sdk/v20250312025/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..f75bb2c67 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/v20250312025/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..044de63cd 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/v20250312025/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..45fe37c5a 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/v20250312025/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..ac91cb554 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/v20250312025/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..ae0f33883 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/v20250312025/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..127279134 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/v20250312025/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..87c544ac2 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/v20250312025/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..d351051fa 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/v20250312025/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..41d04736d 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/v20250312025/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..4bdcdb727 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/v20250312025/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..56dc6fcbb 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/v20250312025/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..c54509666 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/v20250312025/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..878352276 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/v20250312025/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..e00cf47a9 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/v20250312025/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..c9107c436 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/v20250312025/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..88d19ac1c 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/v20250312025/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..3ccebc454 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/v20250312025/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..a9be35e7f 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/v20250312025/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..cf64ef0d0 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/v20250312025/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..fafe401d2 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/v20250312025/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..a55da06d7 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/v20250312025/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..e1522aca6 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/v20250312025/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..f2be6b1f1 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/v20250312025/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..11814c360 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/v20250312025/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..5996dea08 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/v20250312025/admin" ) var ( diff --git a/cfn-resources/stream-workspace/cmd/resource/resource.go b/cfn-resources/stream-workspace/cmd/resource/resource.go index 9aee20e9d..4c37bdb8c 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/v20250312025/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..ae68dd88c 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/v20250312025/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..d795a4836 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/v20250312025/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..4f96acb39 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/v20250312025/admin" ) type AtlasEnvOptions struct { diff --git a/cfn-resources/test/e2e/utility/util.go b/cfn-resources/test/e2e/utility/util.go index 954a8b99f..7b4cea1f0 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/v20250312025/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..11c3094bb 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/v20250312025/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..d8eceadba 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/v20250312025/admin" ) const ItemsPerPage = 500 diff --git a/cfn-resources/util/util.go b/cfn-resources/util/util.go index b03472d04..eab45878f 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/v20250312025/admin" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/handler" "github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/logging"