Configure custom domain to Tigris programmatically
Hi, I’m building a CMS and want to generate hundreds of buckets, assigning a custom subdomain to each. I tried setting up the public bucket with cache controls for each file and created the CNAME record in Cloudflare, but it didn’t work. I had to add the new subdomain manually via the Tigris console.
Another idea was to use the Fly CLI and assign a domain via the CLI, but that command only allows creating one bucket per app:
fly storage create --publicError: A Tigris project named damp-tree-1234 already exist
fly storage create --publicError: A Tigris project named damp-tree-1234 already exist
So this isn’t a suitable solution.
Is there an API from Tigris to set this up programmatically, or perhaps via the S3 SDK?