Skip to content

Commit adf2033

Browse files
Grant GetBucketVersioning permission to the RPK User
This is used during byoc apply validations where we check the versioning configuration of the bucket to see if it matches our recommendation. management bucket - should be versioned cloud storage bucket - should not be versioned
1 parent c6a55b8 commit adf2033

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

customer-managed/aws/terraform/iam_rpk_user.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ data "aws_iam_policy_document" "byovpc_rpk_user_2" {
261261
"s3:PutObjectTagging",
262262
"s3:GetObjectVersion",
263263
"s3:ListBucketVersions",
264+
"s3:GetBucketVersioning",
264265
]
265266
resources = [
266267
aws_s3_bucket.management.arn,
@@ -272,6 +273,7 @@ data "aws_iam_policy_document" "byovpc_rpk_user_2" {
272273
effect = "Allow"
273274
actions = [
274275
"s3:ListBucket",
276+
"s3:GetBucketVersioning",
275277
]
276278
resources = [
277279
aws_s3_bucket.redpanda_cloud_storage.arn,

0 commit comments

Comments
 (0)