Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support different basic policies (fake acls) #1

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
chore: test
kainlite committed Aug 7, 2024

Verified

This commit was signed with the committer’s verified signature.
kainlite Gabriel Garrido
commit 4d8fe9fd96c04831210df6842034cc60950a4d37
2 changes: 1 addition & 1 deletion __main__.py
Original file line number Diff line number Diff line change
@@ -122,7 +122,7 @@ def bucket_policy_ro(bucket_arn):

iam_policy = minio.IamPolicy("minio-iam-policy",
name=f"{serviceNamespace}-{serviceName}",
policy=bucket.arn.apply(iam_user_policy(service_account.principal_arn))
policy=bucket.arn.apply(iam_user_policy(service_account.id))
)

iam_user_policy_attachment = minio.IamUserPolicyAttachment("minio-user-policy",