Having multiple buckets (one public, one private) in Tigris for one Fly app
Hello
My initial idea was to use one private Tigris bucket with a public prefix—something achievable in S3 with a bucket policy configuration. Looking at the Tigris documentation, that doesn’t appear possible. It seems I would need to either use an object ACL and set the ACL for each object, or use a public bucket. For my case, the latter makes more sense.
The problem is that I cannot find a way to have two buckets in one application:
❯ fly storage create --public --name public-named-bucketError: A Tigris project named previous-bucket-name already exists for app existing-app-name
❯ fly storage create --public --name public-named-bucketError: A Tigris project named previous-bucket-name already exists for app existing-app-name
I can create a bucket in the Tigris dashboard, but it appears in my organization, and I don’t see a way to add it to the application. I could create a new key in Tigris and configure it programmatically in the app, but it feels odd that the bucket will appear in the org without being linked to the app. Is there any way to achieve this?