test(e2e): Add support for credential rotation in minio buckets (#4744)

* test(e2e): Update minio module to add permissions for credential rotation

* test(e2e): Add minio user id to test suite
This commit is contained in:
Michael Li authored and GitHub committed 2024-04-29 14:57:48 -04:00
1 parent facd7d33a2
commit 3733af2163
4 files changed
+23 -2

No files matched your search

+4
View File
@@ -174,6 +174,10 @@ output "bucket_region" {
value = var.region
}
output "bucket_user_id" {
value = var.user_id
}
output "endpoint_url" {
value = "http://${var.container_name}:9000"
}
+12 -2
View File
@@ -4,16 +4,26 @@
{
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:PutObject",
"s3:GetObject",
"s3:DeleteObject",
"s3:GetObjectAttributes"
],
"Resource": [
"arn:aws:s3:::testbucket",
"arn:aws:s3:::testbucket/*"
]
},
{
"Action": "s3:ListBucket",
"Effect": "Allow",
"Resource": "arn:aws:s3:::testbucket"
},
{
"Action": [
"admin:CreateServiceAccount",
"admin:RemoveServiceAccount"
],
"Effect": "Allow"
}
]
}