Skip to content

Commit 750d83e

Browse files
committed
doc: update documentation
1 parent e29e4f4 commit 750d83e

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed
File renamed without changes.

docs/data-sources/stream_processor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ output "stream_processors_results" {
140140

141141
**NOTE** When a Stream Processor is updated without specifying the state, it is stopped and then restored to previous state upon update completion.
142142
- `stats` (String) The stats associated with the stream processor. Refer to the [MongoDB Atlas Docs](https://www.mongodb.com/docs/atlas/atlas-stream-processing/manage-stream-processor/#view-statistics-of-a-stream-processor) for more information.
143-
- `tier` (String) Selected tier for the Stream Processor. Configures Memory / VCPU allowances.
143+
- `tier` (String) Selected tier for the Stream Processor. Configures Memory / VCPU allowances. Valid options are SP2, SP5, SP10, SP30, and SP50.
144144

145145
<a id="nestedatt--options"></a>
146146
### Nested Schema for `options`

docs/resources/stream_processor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ output "stream_processors_results" {
145145
- `state` (String) The state of the stream processor. Commonly occurring states are 'CREATED', 'STARTED', 'STOPPED' and 'FAILED'. Used to start or stop the Stream Processor. Valid values are `CREATED`, `STARTED` or `STOPPED`. When a Stream Processor is created without specifying the state, it will default to `CREATED` state. When a Stream Processor is updated without specifying the state, it will default to the Previous state.
146146

147147
**NOTE** When a Stream Processor is updated without specifying the state, it is stopped and then restored to previous state upon update completion.
148-
- `tier` (String) Selected tier for the Stream Processor. Configures Memory / VCPU allowances.
148+
- `tier` (String) Selected tier for the Stream Processor. Configures Memory / VCPU allowances. Valid options are SP2, SP5, SP10, SP30, and SP50.
149149
- `timeouts` (Attributes) (see [below for nested schema](#nestedatt--timeouts))
150150
- `workspace_name` (String) Label that identifies the stream processing workspace.
151151

examples/mongodbatlas_stream_processor/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ resource "mongodbatlas_stream_processor" "stream-processor-sample-example" {
5454
{ "$emit" = { "connectionName" : resource.mongodbatlas_stream_connection.example-cluster.connection_name, "db" : "sample", "coll" : "solar", "timeseries" : { "timeField" : "_ts" } } }
5555
])
5656
state = "STARTED"
57+
tier = "SP30"
5758
}
5859

5960
resource "mongodbatlas_stream_processor" "stream-processor-cluster-to-kafka-example" {

internal/service/streamprocessor/resource_schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func ResourceSchema(ctx context.Context) schema.Schema {
9898
"tier": schema.StringAttribute{
9999
Optional: true,
100100
Computed: true,
101-
MarkdownDescription: "Selected tier for the Stream Processor. Configures Memory / VCPU allowances.",
101+
MarkdownDescription: "Selected tier for the Stream Processor. Configures Memory / VCPU allowances. Valid options are SP2, SP5, SP10, SP30, and SP50.",
102102
PlanModifiers: []planmodifier.String{
103103
stringplanmodifier.UseStateForUnknown(),
104104
},

0 commit comments

Comments
 (0)