From b1ead6ea3088d9c5573078056f65eaa90b29381e Mon Sep 17 00:00:00 2001 From: Poornima Krishnasamy Date: Thu, 5 Oct 2023 11:49:13 +0100 Subject: [PATCH] Add more permissions for opensearch --- opensearch.tf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/opensearch.tf b/opensearch.tf index f3bb9e0..14ccec2 100644 --- a/opensearch.tf +++ b/opensearch.tf @@ -3,9 +3,10 @@ data "aws_iam_policy_document" "opensearch_for_github" { sid = "AllowOpenSearchListDescribe" effect = "Allow" actions = [ - "es:DescribeDomain", - "es:ListDomainNames", - "es:ListTags" + "es:Describe*", + "es:List*", + "es:GetCompatibleVersions", + "es:GetUpgradeHistory" ] resources = ["*"] }