Skip to content

Commit

Permalink
Fix doc rendering bug for segment_profiles_warehouse (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
deanhuynh authored Mar 6, 2024
1 parent cb557be commit 6f1604e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 0.10.2 (March 6, 2024)
Fixes a rendering bug for `segment_profiles_warehouse` resource docs.

## 0.10.1 (March 6, 2024)
Adds import documentation for each resource. Also clean up documentation.

## 0.10.0 (January 30, 2024)
Fixes bug where segment_function IDs for insert destinations could not be passed directly into a segment_insert_function_instance resource.

## 0.9.0 (January 8, 2024)
Adds support for Transformation resource.

Expand Down
7 changes: 5 additions & 2 deletions docs/resources/profiles_warehouse.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
page_title: "segment_profiles_warehouse Resource - terraform-provider-segment"
subcategory: ""
description: |-
Configures a Profiles Sync Warehouse. For more information, visit the Segment docs https://segment.com/docs/unify/profiles-sync/overview/.\n\n## Import
Configures a Profiles Sync Warehouse. For more information, visit the Segment docs https://segment.com/docs/unify/profiles-sync/overview/.
Import
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:
terraform
import {
Expand All @@ -18,7 +19,9 @@ description: |-

# segment_profiles_warehouse (Resource)

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

## Import

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:

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/profiles_warehouse_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (r *profilesWarehouseResource) Metadata(_ context.Context, req resource.Met

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

Attributes: map[string]schema.Attribute{
Expand Down

0 comments on commit 6f1604e

Please sign in to comment.