diff --git a/pkg/asset/installconfig/aws/permissions.go b/pkg/asset/installconfig/aws/permissions.go index 951be2532ea..1d20c3c40e2 100644 --- a/pkg/asset/installconfig/aws/permissions.go +++ b/pkg/asset/installconfig/aws/permissions.go @@ -141,20 +141,21 @@ var installPermissions = []string{ // S3 related perms "s3:CreateBucket", - "s3:ListBucket", + "s3:DeleteBucket", + "s3:GetAccelerateConfiguration", "s3:GetBucketCors", - "s3:GetBucketWebsite", + "s3:GetBucketLocation", + "s3:GetBucketLogging", + "s3:GetBucketObjectLockConfiguration", + "s3:GetBucketReplication", + "s3:GetBucketRequestPayment", + "s3:GetBucketTagging", "s3:GetBucketVersioning", - "s3:GetAccelerateConfiguration", + "s3:GetBucketWebsite", "s3:GetEncryptionConfiguration", - "s3:GetBucketRequestPayment", - "s3:GetBucketLogging", "s3:GetLifecycleConfiguration", - "s3:GetBucketReplication", "s3:GetReplicationConfiguration", - "s3:GetBucketLocation", - "s3:GetBucketTagging", - "s3:DeleteBucket", + "s3:ListBucket", "s3:PutBucketAcl", "s3:PutBucketTagging", "s3:PutEncryptionConfiguration",