Skip to content

Commit 4c0ba59

Browse files
committed
remove documentation from md
1 parent f8d16c5 commit 4c0ba59

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

docs/resources/profiles_warehouse.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,6 @@ resource "segment_profiles_warehouse" "example" {
5353
}
5454
```
5555

56-
## Schema Name Handling
57-
58-
The `schema_name` attribute includes special handling to prevent API failures:
59-
60-
- **When updating**: The `schema_name` is only sent to the Segment API if it differs from the current remote value
61-
- **When unchanged**: If the local and remote `schema_name` values are the same (including both being null/undefined), the field is omitted from the API request
62-
- **When different**: If either the local or remote value is null/undefined while the other has a value, or if they have different values, the field is included in the API request
63-
64-
**Important**: The Segment API fails when you send a `schema_name` that already exists in the warehouse configuration, even though it should be a no-operation. This behavior prevents those API failures while still allowing legitimate schema name changes.
65-
6656
<!-- schema generated by tfplugindocs -->
6757
## Schema
6858

@@ -85,8 +75,6 @@ The `schema_name` attribute includes special handling to prevent API failures:
8575
- `enabled` (Boolean) Enable to allow this Warehouse to receive data. Defaults to true.
8676
- `name` (String) An optional human-readable name for this Warehouse.
8777
- `schema_name` (String) The custom schema name that Segment uses on the Warehouse side. The space slug value is default otherwise.
88-
89-
**Note:** When updating a profiles warehouse, the `schema_name` is only sent to the Segment API if it differs from the current remote value. This prevents API failures that occur when sending a schema name that already exists in the warehouse configuration.
9078

9179
### Read-Only
9280

0 commit comments

Comments
 (0)