Skip to content

Commit

Permalink
opensearch index name modified
Browse files Browse the repository at this point in the history
  • Loading branch information
sfdevops committed Sep 11, 2024
1 parent 210a8bd commit 3801a8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions files/tenant-samples/bridge/terraform/opensearch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"
}
}
Expand Down
4 changes: 2 additions & 2 deletions files/tenant-samples/pooled/terraform/opensearch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"
}
}
Expand Down

0 comments on commit 3801a8e

Please sign in to comment.