Skip to content

Commit

Permalink
Merge pull request #13 from Kekenika/fix-not-provider-example-generat…
Browse files Browse the repository at this point in the history
…ed-problem

Fix not provider example generated problem
  • Loading branch information
KeisukeYamashita committed Nov 5, 2021
2 parents 71f77ac + 7e6fc9a commit cc0d8ed
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 14 deletions.
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.

0 comments on commit cc0d8ed

Please sign in to comment.