Skip to content

Commit

Permalink
[opendistro][role] Test multiple permissions.
Browse files Browse the repository at this point in the history
  • Loading branch information
phillbaker committed May 29, 2020
1 parent 218fffd commit 7b8c24d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions es/resource_elasticsearch_opendistro_role_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,21 @@ func testAccOpenDistroRoleResourceUpdated(resourceName string) string {
description = "test"
index_permissions {
index_patterns = [
"*",
"test*",
]
allowed_actions = [
"*",
"read",
]
}
index_permissions {
index_patterns = [
"?kibana",
]
allowed_actions = [
"indices_all",
]
}
Expand Down

0 comments on commit 7b8c24d

Please sign in to comment.