We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ad14d5 commit 35ae6b2Copy full SHA for 35ae6b2
modules/dashboard/index-pattern/main.tf
@@ -1,5 +1,5 @@
1
locals {
2
- id = coalesce(var.pattern_id, split("-*", var.pattern)[0])
+ id = coalesce(var.pattern_id, var.pattern)
3
}
4
5
resource "opensearch_dashboard_object" "index_pattern" {
@@ -8,7 +8,6 @@ resource "opensearch_dashboard_object" "index_pattern" {
8
[
9
{
10
"_id": "index-pattern:${local.id}",
11
- "_type": "doc",
12
"_source": {
13
"type": "index-pattern",
14
"index-pattern": {
0 commit comments