I’m building a multi-tenant SaaS app, which has a separate Space (bucket) for each tenant. I have created a Project to house all of the resources relating to the SaaS application.
The Space is created using the AWS PHP SDK like so:
$client->createBucket(['Bucket' => $bucketName]);
The Space is created successfully and appears in the default Spaces area in the dashboard, after which I can move the Space into the SaaS application Project manually.
I would like to be able to specify the Project when creating the Space, in order to remove the manual last step.
Is this possible does anyone know please?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.