Skip to content

Commit 19b6aad

Browse files
committed
use SP10 instead of default SP30 for stream_instance
1 parent b69ab38 commit 19b6aad

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

internal/service/streamconnection/resource_stream_connection_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,9 @@ func configureCluster(projectID, instanceName, clusterName string) string {
427427
region = "VIRGINIA_USA"
428428
cloud_provider = "AWS"
429429
}
430+
stream_config = {
431+
tier = "SP10"
432+
}
430433
}
431434
432435
resource "mongodbatlas_stream_connection" "test" {
@@ -452,6 +455,9 @@ func configureHTTPS(projectID, instanceName, url, headers string) string {
452455
region = "VIRGINIA_USA"
453456
cloud_provider = "AWS"
454457
}
458+
stream_config = {
459+
tier = "SP10"
460+
}
455461
}
456462
457463
resource "mongodbatlas_stream_connection" "test" {

internal/service/streamprocessor/resource_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,9 @@ func configToUpdateStreamProcessor(projectID, instanceName, processorName, state
456456
region = "VIRGINIA_USA"
457457
cloud_provider = "AWS"
458458
}
459+
stream_config = {
460+
tier = "SP10"
461+
}
459462
}
460463
461464
resource "mongodbatlas_stream_connection" "sample" {
@@ -575,6 +578,9 @@ func config(t *testing.T, projectID, instanceName, processorName, state string,
575578
region = "VIRGINIA_USA"
576579
cloud_provider = "AWS"
577580
}
581+
stream_config = {
582+
tier = "SP10"
583+
}
578584
}
579585
580586
%[3]s

0 commit comments

Comments
 (0)