Closed torbendury closed 1 year ago
Hi, thanks for your interest in the project. I haven't implemented this because I wanted to avoid having to maintain stuff you can do with another terraform provider, in this case I used aminueza/minio
.
The server where that terraform is running isn't accessible right now, but I'll link to an example when it is.
That'd be great! I'm currently switching from MinIO to a ceph cluster with rgw, I also used to utilize aminueza/minio
provider but it seemed quite unmaintained at some point and for several reasons I wasn't able to update my MinIO cluster to a version needed later on.
But if the API works interchangeable (now that you mention, it should perfectly do so because of S3 API compliance) we should be able to use the MinIO provider.
Were you also able to implement bucket lifecycles etc. with the MinIO provider on rgw buckets?
Here's the example I was talking about. At the time I only implemented ACLs, and I can't see anything related to lifecycles, but if the minio provider supports it, then it should work as well, as you said, because S3 API compliance.
Ah, I see. You create the users via your RGW provider and the rest with the MinIO provider.
A quick follow-up question because I'm either blind or it's not in the example: How did you handle permissions? i.e. user-a
should have access to bucket-a
(and only to bucket-a
!) and user-b
should have access to bucket-b
.
IIRC bucket-a
is created by user-a
, which makes user-a
owner of bucket-a
, and since it's private, they're the only one with access
Ah, I seem to have understood your module just now. You're handing over user-a
to your module call, so he creates bucket-a
.
Yes that's it
I'm going to close this. If there's anything else, don't hesitate
Hi @rissson,
thank you for creating this Terraform provider.
I would like to be able to also manage buckets created in rgw. Is there any chance of getting this implemented? My Go skills are quite basic so I don't think I'd be of any help.