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
A Profiles Sync Warehouse is a central repository of data collected from your workspace. It is what commonly comes to mind when you think about a relational database: structured data that fits into rows and columns.
7
+
To import a Profiles Warehouse into Terraform, use the following format: 'space-id:warehouse-id'
8
+
---
9
+
10
+
# segment_profiles_warehouse (Resource)
11
+
12
+
A Profiles Sync Warehouse is a central repository of data collected from your workspace. It is what commonly comes to mind when you think about a relational database: structured data that fits into rows and columns.
13
+
14
+
To import a Profiles Warehouse into Terraform, use the following format: 'space-id:warehouse-id'
15
+
16
+
## Example Usage
17
+
18
+
```terraform
19
+
# Configures a specific profiles sync warehouse
20
+
resource "segment_profiles_warehouse" "example" {
21
+
space_id = "cba321"
22
+
metadata_id = "abc123"
23
+
enabled = true
24
+
settings = jsonencode({
25
+
token : "zyx321"
26
+
})
27
+
name = "My Terraform Warehouse!"
28
+
}
29
+
```
30
+
31
+
<!-- schema generated by tfplugindocs -->
32
+
## Schema
33
+
34
+
### Required
35
+
36
+
-`metadata_id` (String) The Warehouse metadata to use.
37
+
-`settings` (String) A key-value object that contains instance-specific settings for a Warehouse.
38
+
39
+
Different kinds of Warehouses require different settings. The required and optional settings
40
+
for a Warehouse are described in the 'options' object of the associated Warehouse metadata.
41
+
42
+
You can find the full list of Warehouse metadata and related settings information in the
43
+
'/catalog/warehouses' endpoint.
44
+
-`space_id` (String) The Space id.
45
+
46
+
### Optional
47
+
48
+
-`enabled` (Boolean) Enable to allow this Warehouse to receive data. Defaults to true.
49
+
-`name` (String) An optional human-readable name for this Warehouse.
50
+
-`schema_name` (String) The custom schema name that Segment uses on the Warehouse side. The space slug value is default otherwise.
0 commit comments