From 3801a8eb0a64cc28d7d84aecdfbc08b933e9ff54 Mon Sep 17 00:00:00 2001 From: sfdevops Date: Wed, 11 Sep 2024 14:05:10 +0530 Subject: [PATCH] opensearch index name modified --- files/tenant-samples/bridge/terraform/opensearch.tf | 4 ++-- files/tenant-samples/pooled/terraform/opensearch.tf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/files/tenant-samples/bridge/terraform/opensearch.tf b/files/tenant-samples/bridge/terraform/opensearch.tf index 793e2713..a83e4692 100644 --- a/files/tenant-samples/bridge/terraform/opensearch.tf +++ b/files/tenant-samples/bridge/terraform/opensearch.tf @@ -34,7 +34,7 @@ resource "opensearch_role" "tenant_index_role" { cluster_permissions = ["cluster_composite_ops_ro"] index_permissions { - index_patterns = ["${each.value}*", "logs-pooled-${each.value}*"] + index_patterns = ["${each.value}*", "logs-${each.value}*"] allowed_actions = [ "get", "search", @@ -76,7 +76,7 @@ resource "opensearch_dashboard_object" "test_index_pattern_v7" { "_source" : { "type" : "index-pattern", "index-pattern" : { - "title" : "logs-pooled-${each.value}*", + "title" : "logs-${each.value}*", "timeFieldName" : "timestamp" } } diff --git a/files/tenant-samples/pooled/terraform/opensearch.tf b/files/tenant-samples/pooled/terraform/opensearch.tf index 793e2713..a83e4692 100644 --- a/files/tenant-samples/pooled/terraform/opensearch.tf +++ b/files/tenant-samples/pooled/terraform/opensearch.tf @@ -34,7 +34,7 @@ resource "opensearch_role" "tenant_index_role" { cluster_permissions = ["cluster_composite_ops_ro"] index_permissions { - index_patterns = ["${each.value}*", "logs-pooled-${each.value}*"] + index_patterns = ["${each.value}*", "logs-${each.value}*"] allowed_actions = [ "get", "search", @@ -76,7 +76,7 @@ resource "opensearch_dashboard_object" "test_index_pattern_v7" { "_source" : { "type" : "index-pattern", "index-pattern" : { - "title" : "logs-pooled-${each.value}*", + "title" : "logs-${each.value}*", "timeFieldName" : "timestamp" } }