Skip to content

Commit 6f1604e

Browse files
authored
Fix doc rendering bug for segment_profiles_warehouse (#98)
1 parent cb557be commit 6f1604e

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## 0.10.2 (March 6, 2024)
2+
Fixes a rendering bug for `segment_profiles_warehouse` resource docs.
3+
4+
## 0.10.1 (March 6, 2024)
5+
Adds import documentation for each resource. Also clean up documentation.
6+
7+
## 0.10.0 (January 30, 2024)
8+
Fixes bug where segment_function IDs for insert destinations could not be passed directly into a segment_insert_function_instance resource.
9+
110
## 0.9.0 (January 8, 2024)
211
Adds support for Transformation resource.
312

docs/resources/profiles_warehouse.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
page_title: "segment_profiles_warehouse Resource - terraform-provider-segment"
44
subcategory: ""
55
description: |-
6-
Configures a Profiles Sync Warehouse. For more information, visit the Segment docs https://segment.com/docs/unify/profiles-sync/overview/.\n\n## Import
6+
Configures a Profiles Sync Warehouse. For more information, visit the Segment docs https://segment.com/docs/unify/profiles-sync/overview/.
7+
Import
78
In Terraform v1.5.0 and later, use an import block https://developer.hashicorp.com/terraform/language/import with <space_id>:<warehouse_id>. For example:
89
terraform
910
import {
@@ -18,7 +19,9 @@ description: |-
1819

1920
# segment_profiles_warehouse (Resource)
2021

21-
Configures a Profiles Sync Warehouse. For more information, visit the [Segment docs](https://segment.com/docs/unify/profiles-sync/overview/).\n\n## Import
22+
Configures a Profiles Sync Warehouse. For more information, visit the [Segment docs](https://segment.com/docs/unify/profiles-sync/overview/).
23+
24+
## Import
2225

2326
In Terraform v1.5.0 and later, use an [import block](https://developer.hashicorp.com/terraform/language/import) with `<space_id>:<warehouse_id>`. For example:
2427

internal/provider/profiles_warehouse_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func (r *profilesWarehouseResource) Metadata(_ context.Context, req resource.Met
4040

4141
func (r *profilesWarehouseResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse) {
4242
resp.Schema = schema.Schema{
43-
Description: `Configures a Profiles Sync Warehouse. For more information, visit the [Segment docs](https://segment.com/docs/unify/profiles-sync/overview/).\n\n` +
43+
Description: "Configures a Profiles Sync Warehouse. For more information, visit the [Segment docs](https://segment.com/docs/unify/profiles-sync/overview/).\n\n" +
4444
docs.GenerateImportDocs("<space_id>:<warehouse_id>", "segment_profiles_warehouse"),
4545

4646
Attributes: map[string]schema.Attribute{

0 commit comments

Comments
 (0)