You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/stream_connection.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,9 +29,9 @@ data "mongodbatlas_stream_connection" "example" {
29
29
## Argument Reference
30
30
31
31
*`project_id` - (Required) Unique 24-hexadecimal digit string that identifies your project.
32
-
*`instance_name` - (Deprecated) Human-readable label that identifies the stream instance. Attribute is deprecated and will be removed in following major versions in favor of `workspace_name`.
33
-
*`workspace_name` - (Optional) Human-readable label that identifies the stream instance. Conflicts with `workspace_name`.
34
-
*`connection_name` - (Required) Human-readable label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
32
+
*`instance_name` - (Deprecated) Label that identifies the stream processing workspace. Attribute is deprecated and will be removed in following major versions in favor of `workspace_name`.
33
+
*`workspace_name` - (Optional) Label that identifies the stream processing workspace. Conflicts with `instance_name`.
34
+
*`connection_name` - (Required) Label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
35
35
36
36
~> **NOTE:** Either `workspace_name` or `instance_name` must be provided, but not both. These fields are functionally identical and `workspace_name` is an alias for `instance_name`. `workspace_name` should be used instead of `instance_name`.
Copy file name to clipboardExpand all lines: docs/data-sources/stream_connections.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,8 @@ data "mongodbatlas_stream_connections" "test" {
18
18
## Argument Reference
19
19
20
20
*`project_id` - (Required) Unique 24-hexadecimal digit string that identifies your project.
21
-
*`instance_name` - (Deprecated) Human-readable label that identifies the stream instance. Attribute is deprecated and will be removed in following major versions in favor of `workspace_name`.
22
-
*`workspace_name` - (Optional) Human-readable label that identifies the stream instance. Conflicts with `instance_name`.
21
+
*`instance_name` - (Deprecated) Label that identifies the stream processing workspace. Attribute is deprecated and will be removed in following major versions in favor of `workspace_name`.
22
+
*`workspace_name` - (Optional) Label that identifies the stream processing workspace. Conflicts with `instance_name`.
23
23
24
24
~> **NOTE:** Either `workspace_name` or `instance_name` must be provided, but not both. These fields are functionally identical and `workspace_name` is an alias for `instance_name`. `workspace_name` should be used instead of `instance_name`.
25
25
@@ -37,8 +37,8 @@ In addition to all arguments above, it also exports the following attributes:
37
37
### Stream Connection
38
38
39
39
*`project_id` - Unique 24-hexadecimal digit string that identifies your project.
40
-
*`workspace_name` - Human-readable label that identifies the stream instance.
41
-
*`connection_name` - Human-readable label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
40
+
*`workspace_name` - Label that identifies the stream processing workspace.
41
+
*`connection_name` - Label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
42
42
*`type` - Type of connection. `AWSLambda`, `Cluster`, `Https`, `Kafka` or `Sample`.
43
43
44
44
If `type` is of value `Cluster` the following additional attributes are defined:
-`instance_name` (String) Human-readable label that identifies the stream instance.
125
-
-`processor_name` (String) Human-readable label that identifies the stream processor.
124
+
-`processor_name` (String) Label that identifies the stream processor.
126
125
-`project_id` (String) Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access.
127
126
128
127
**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups.
129
128
129
+
### Optional
130
+
131
+
-`instance_name` (String, Deprecated) Label that identifies the stream processing workspace.
132
+
-`workspace_name` (String) Label that identifies the stream processing workspace. Conflicts with `instance_name`.
133
+
130
134
### Read-Only
131
135
132
136
-`id` (String) Unique 24-hexadecimal character string that identifies the stream processor.
-`instance_name` (String) Human-readable label that identifies the stream instance.
125
124
-`project_id` (String) Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access.
126
125
127
126
**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups.
128
127
128
+
### Optional
129
+
130
+
-`instance_name` (String, Deprecated) Label that identifies the stream processing workspace.
131
+
-`workspace_name` (String) Label that identifies the stream processing workspace. Conflicts with `instance_name`.
132
+
129
133
### Read-Only
130
134
131
135
-`results` (Attributes List) Returns all Stream Processors within the specified stream instance.
@@ -140,17 +144,18 @@ role or Project Stream Processing Owner role. (see [below for nested schema](#ne
140
144
Read-Only:
141
145
142
146
-`id` (String) Unique 24-hexadecimal character string that identifies the stream processor.
143
-
-`instance_name` (String) Human-readable label that identifies the stream instance.
147
+
-`instance_name` (String, Deprecated) Label that identifies the stream processing workspace.
144
148
-`options` (Attributes) Optional configuration for the stream processor. (see [below for nested schema](#nestedatt--results--options))
145
149
-`pipeline` (String) Stream aggregation pipeline you want to apply to your streaming data. [MongoDB Atlas Docs](https://www.mongodb.com/docs/atlas/atlas-stream-processing/stream-aggregation/#std-label-stream-aggregation) contain more information. Using [jsonencode](https://developer.hashicorp.com/terraform/language/functions/jsonencode) is recommended when setting this attribute. For more details see the [Aggregation Pipelines Documentation](https://www.mongodb.com/docs/atlas/atlas-stream-processing/stream-aggregation/)
146
-
-`processor_name` (String) Human-readable label that identifies the stream processor.
150
+
-`processor_name` (String) Label that identifies the stream processor.
147
151
-`project_id` (String) Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access.
148
152
149
153
**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups.
150
154
-`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.
151
155
152
156
**NOTE** When a Stream Processor is updated without specifying the state, it is stopped and then restored to previous state upon update completion.
153
157
-`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.
158
+
-`workspace_name` (String) Label that identifies the stream processing workspace.
*`project_id` - (Required) Unique 24-hexadecimal digit string that identifies your project.
155
-
*`instance_name` - (Deprecated) Human-readable label that identifies the stream instance. Attribute is deprecated and will be removed in following major versions in favor of `workspace_name`.
156
-
*`workspace_name` - (Optional) Human-readable label that identifies the stream instance. Conflicts with `instance_name`.
157
-
*`connection_name` - (Required) Human-readable label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
155
+
*`instance_name` - (Deprecated) Label that identifies the stream processing workspace. Attribute is deprecated and will be removed in following major versions in favor of `workspace_name`.
156
+
*`workspace_name` - (Optional) Label that identifies the stream processing workspace. Conflicts with `instance_name`.
157
+
*`connection_name` - (Required) Label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
158
158
*`type` - (Required) Type of connection. Can be `AWSLambda`, `Cluster`, `Https`, `Kafka` or `Sample`.
159
159
160
160
~> **NOTE:** Either `workspace_name` or `instance_name` must be provided, but not both. These fields are functionally identical and `workspace_name` is an alias for `instance_name`. `workspace_name` should be used instead of `instance_name`.
0 commit comments