Skip to content

Commit

Permalink
Add virtual index data-source example
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yomo committed May 21, 2022
1 parent 38dc273 commit 05f6d3a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/data-sources/virtual_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ description: |-

Data source for a virtual index.

## Example Usage

```terraform
data "algolia_virtual_index" "example" {
name = "example_virtual_replica"
}
```

<!-- schema generated by tfplugindocs -->
## Schema
Expand Down
3 changes: 3 additions & 0 deletions examples/data-sources/algolia_virtual_index/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "algolia_virtual_index" "example" {
name = "example_virtual_replica"
}

0 comments on commit 05f6d3a

Please sign in to comment.