From b460b5967fc1f4289237055ba07daf5af9d312f8 Mon Sep 17 00:00:00 2001 From: kannappanr <30541348+kannappanr@users.noreply.github.com> Date: Tue, 23 Jun 2020 10:18:32 -0700 Subject: [PATCH] fix IAM policy action name for Get/PutBucketLifeCycle (#9893) --- pkg/iam/policy/action.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/iam/policy/action.go b/pkg/iam/policy/action.go index 1c911e160..8ac00093d 100644 --- a/pkg/iam/policy/action.go +++ b/pkg/iam/policy/action.go @@ -78,10 +78,10 @@ const ( ListMultipartUploadPartsAction = "s3:ListMultipartUploadParts" // PutBucketLifecycleAction - PutBucketLifecycle Rest API action. - PutBucketLifecycleAction = "s3:PutBucketLifecycle" + PutBucketLifecycleAction = "s3:PutLifecycleConfiguration" // GetBucketLifecycleAction - GetBucketLifecycle Rest API action. - GetBucketLifecycleAction = "s3:GetBucketLifecycle" + GetBucketLifecycleAction = "s3:GetLifecycleConfiguration" // PutBucketNotificationAction - PutObjectNotification Rest API action. PutBucketNotificationAction = "s3:PutBucketNotification"