Skip to content

Commit 1fee9be

Browse files
authored
fix(docs): indices datesource example field (#786)
1 parent 9bdae4f commit 1fee9be

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/data-sources/elasticsearch_indices.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ provider "elasticstack" {
1818
kibana {}
1919
}
2020
21-
data "elasticstack_elasticsearch_indices" "logs" {
22-
search = "log*"
21+
data "elasticstack_elasticsearch_indices" "security_indices" {
22+
target = ".security-*"
2323
}
2424
```
2525

examples/data-sources/elasticstack_elasticsearch_indices/data-source.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ provider "elasticstack" {
33
kibana {}
44
}
55

6-
data "elasticstack_elasticsearch_indices" "logs" {
7-
search = "log*"
6+
data "elasticstack_elasticsearch_indices" "security_indices" {
7+
target = ".security-*"
88
}

0 commit comments

Comments
 (0)