Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix not provider example generated problem #13

Merged
merged 2 commits into from
Nov 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions docs/data-sources/document.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,10 @@ data "typesense_document" "my_doc" {
### Required

- **collection_name** (String) Name of the collection
- **document** (Map of String) Document's body

### Optional

- **id** (String) The ID of this resource.

### Read-Only

- **document** (Map of String) Document's body


14 changes: 6 additions & 8 deletions docs/data-sources/synonyms.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,18 @@ data "typesense_synonyms" "my_synonyms" {
<!-- schema generated by tfplugindocs -->
## Schema

### Required

- **collection_name** (String) Name of the collection
- **name** (String) Name of the synonyms

### Optional

- **id** (String) The ID of this resource.

### Read-Only

- **collection_name** (String) Name of the collection
- **name** (String) Name of the synonyms
- **root** (String) Root for one-way synonym
- **synonyms** (List of Object) Target collection names (see [below for nested schema](#nestedatt--synonyms))

<a id="nestedatt--synonyms"></a>
### Nested Schema for `synonyms`

Read-Only:
- **synonyms** (List of String) Target collection names


9 changes: 8 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ description: |-




## Example Usage

```terraform
provider "typesense" {
api_key = "xxxxxxxxxxxxxxxxxx" // Or TYPESENSE_API_KEY enivoronment variable
api_address = "https://your.typesense.server" // Or TYPESENSE_APP_ADDRESS enivoronment variable
}
```

<!-- schema generated by tfplugindocs -->
## Schema
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/collection_alias.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ resource "typesense_collection_alias" "my_alias" {
Import is supported using the following syntax:

```shell
terraform import typesense_collection_alias.my_alias my_collection.my-alias
terraform import typesense_collection_alias.my_alias my-alias
```
File renamed without changes.