From 0cc42937bcee96102f89928a1ea8ae44826bd33c Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sat, 9 Nov 2024 20:22:42 +0100 Subject: [PATCH] dsfg --- roles/mgrote_minio_configure/templates/policy_rw.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/mgrote_minio_configure/templates/policy_rw.j2 b/roles/mgrote_minio_configure/templates/policy_rw.j2 index 17391d99..84d46209 100644 --- a/roles/mgrote_minio_configure/templates/policy_rw.j2 +++ b/roles/mgrote_minio_configure/templates/policy_rw.j2 @@ -14,7 +14,7 @@ "s3:ListBucketMultipartUploads" ], "Resource": [ - "arn:aws:s3:::testbucket3" + "arn:aws:s3:::{{ item.bucket }}" ] }, { @@ -32,7 +32,7 @@ "s3:PutObject" ], "Resource": [ - "arn:aws:s3:::testbucket3/*" + "arn:aws:s3:::{{ item.bucket }}" ] } ]