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/source.md
+45-1Lines changed: 45 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ data "segment_source" "my_source" {
35
35
-`enabled` (Boolean) Enable to receive data from the Source.
36
36
-`labels` (Attributes List) A list of labels applied to the Source. (see [below for nested schema](#nestedatt--labels))
37
37
-`metadata` (Attributes) The metadata for the Source. (see [below for nested schema](#nestedatt--metadata))
38
+
-`schema_settings` (Attributes) The schema settings associated with the Source. (see [below for nested schema](#nestedatt--schema_settings))
38
39
-`settings` (String) The settings associated with the Source.
39
40
-`slug` (String) The slug used to identify the Source in the Segment app.
40
41
-`workspace_id` (String) The id of the Workspace that owns the Source.
@@ -45,7 +46,6 @@ data "segment_source" "my_source" {
45
46
46
47
Read-Only:
47
48
48
-
-`description` (String) An optional description of the purpose of this label.
49
49
-`key` (String) The key that represents the name of this label.
50
50
-`value` (String) The value associated with the key of this label.
51
51
@@ -85,3 +85,47 @@ Read-Only:
85
85
-`name` (String) The name identifying this option in the context of a Segment Integration.
86
86
-`required` (Boolean) Whether this is a required option when setting up the Integration.
87
87
-`type` (String) Defines the type for this option in the schema. Types are most commonly strings, but may also represent other primitive types, such as booleans, and numbers, as well as complex types, such as objects and arrays.
88
+
89
+
90
+
91
+
<aid="nestedatt--schema_settings"></a>
92
+
### Nested Schema for `schema_settings`
93
+
94
+
Read-Only:
95
+
96
+
-`forwarding_blocked_events_to` (String) Source id to forward blocked events to.
97
+
-`forwarding_violations_to` (String) Source id to forward violations to.
98
+
-`group` (Attributes) Group settings. (see [below for nested schema](#nestedatt--schema_settings--group))
99
+
-`identify` (Attributes) Identify settings. (see [below for nested schema](#nestedatt--schema_settings--identify))
100
+
-`track` (Attributes) Track settings. (see [below for nested schema](#nestedatt--schema_settings--track))
101
+
102
+
<aid="nestedatt--schema_settings--group"></a>
103
+
### Nested Schema for `schema_settings.group`
104
+
105
+
Read-Only:
106
+
107
+
-`allow_traits_on_violations` (Boolean) Enable to allow group traits on violations.
108
+
-`allow_unplanned_traits` (Boolean) Enable to allow unplanned group traits.
109
+
-`common_event_on_violations` (String) The common group event on violations.
110
+
111
+
112
+
<aid="nestedatt--schema_settings--identify"></a>
113
+
### Nested Schema for `schema_settings.identify`
114
+
115
+
Read-Only:
116
+
117
+
-`allow_traits_on_violations` (Boolean) Enable to allow identify traits on violations.
118
+
-`allow_unplanned_traits` (Boolean) Enable to allow unplanned identify traits.
119
+
-`common_event_on_violations` (String) The common identify event on violations.
120
+
121
+
122
+
<aid="nestedatt--schema_settings--track"></a>
123
+
### Nested Schema for `schema_settings.track`
124
+
125
+
Read-Only:
126
+
127
+
-`allow_event_on_violations` (Boolean) Allow track event on violations.
128
+
-`allow_properties_on_violations` (Boolean) Enable to allow track properties on violations.
129
+
-`allow_unplanned_event_properties` (Boolean) Enable to allow unplanned track event properties.
130
+
-`allow_unplanned_events` (Boolean) Enable to allow unplanned track events.
131
+
-`common_event_on_violations` (String) The common track event on violations.
-`labels` (Attributes Set) A list of labels applied to the Source. (see [below for nested schema](#nestedatt--labels))
49
87
-`name` (String) The name of the Source.
88
+
-`schema_settings` (Attributes) The schema settings associated with the Source. Upon import, this field will be empty even if the settings have already been configured due to Terraform limitations, but will be populated on the first apply. Fields not present in the config will not be managed by Terraform. (see [below for nested schema](#nestedatt--schema_settings))
50
89
51
90
### Read-Only
52
91
@@ -103,6 +142,45 @@ Required:
103
142
-`key` (String) The key that represents the name of this label.
104
143
-`value` (String) The value associated with the key of this label.
105
144
106
-
Read-Only:
107
145
108
-
-`description` (String) An optional description of the purpose of this label.
146
+
<aid="nestedatt--schema_settings"></a>
147
+
### Nested Schema for `schema_settings`
148
+
149
+
Optional:
150
+
151
+
-`forwarding_blocked_events_to` (String) Source id to forward blocked events to.
152
+
-`forwarding_violations_to` (String) Source id to forward violations to.
153
+
-`group` (Attributes) Group settings. (see [below for nested schema](#nestedatt--schema_settings--group))
154
+
-`identify` (Attributes) Identify settings. (see [below for nested schema](#nestedatt--schema_settings--identify))
155
+
-`track` (Attributes) Track settings. (see [below for nested schema](#nestedatt--schema_settings--track))
156
+
157
+
<aid="nestedatt--schema_settings--group"></a>
158
+
### Nested Schema for `schema_settings.group`
159
+
160
+
Optional:
161
+
162
+
-`allow_traits_on_violations` (Boolean) Enable to allow group traits on violations.
163
+
-`allow_unplanned_traits` (Boolean) Enable to allow unplanned group traits.
164
+
-`common_event_on_violations` (String) The common group event on violations.
165
+
166
+
167
+
<aid="nestedatt--schema_settings--identify"></a>
168
+
### Nested Schema for `schema_settings.identify`
169
+
170
+
Optional:
171
+
172
+
-`allow_traits_on_violations` (Boolean) Enable to allow identify traits on violations.
173
+
-`allow_unplanned_traits` (Boolean) Enable to allow unplanned identify traits.
174
+
-`common_event_on_violations` (String) The common identify event on violations.
175
+
176
+
177
+
<aid="nestedatt--schema_settings--track"></a>
178
+
### Nested Schema for `schema_settings.track`
179
+
180
+
Optional:
181
+
182
+
-`allow_event_on_violations` (Boolean) Allow track event on violations.
183
+
-`allow_properties_on_violations` (Boolean) Enable to allow track properties on violations.
184
+
-`allow_unplanned_event_properties` (Boolean) Enable to allow unplanned track event properties.
185
+
-`allow_unplanned_events` (Boolean) Enable to allow unplanned track events.
186
+
-`common_event_on_violations` (String) The common track event on violations.
0 commit comments