Skip to content

Commit 638c432

Browse files
committed
feat(mongodb): add cassette with sdk
1 parent 0375e39 commit 638c432

File tree

5 files changed

+4494
-7630
lines changed

5 files changed

+4494
-7630
lines changed

internal/services/mongodb/instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ func ResourceInstanceUpdate(ctx context.Context, d *schema.ResourceData, m inter
333333

334334
if d.HasChange("tags") {
335335
if tags := types.ExpandUpdatedStringsPtr(d.Get("tags")); tags != nil {
336-
req.Tags = *tags
336+
req.Tags = tags
337337
}
338338
}
339339

internal/services/mongodb/snapshot_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func TestAccMongoDBSnapshot_Basic(t *testing.T) {
2727
resource "scaleway_mongodb_instance" "main" {
2828
name = "test-mongodb-instance"
2929
version = "7.0.12"
30-
node_type = "MGDB-PRO2-XXS"
30+
node_type = "MGDB-PLAY2-NANO"
3131
node_number = 1
3232
user_name = "my_initial_user"
3333
password = "thiZ_is_v&ry_s3cret"

0 commit comments

Comments
 (0)