@ZeroqodeSupport Thank you for your reply.
As for the dev/live data. I think you didn’t get my point. I’ll try to be more specific with an example.
1- My user (on the live version) upload their profile picture. It is saved in my s3 bucket.
2- I want to test things on the development version (trying to fix bugs for instance). So I copy data from live to development before doing it.
3- My data copied in development version, I want to test things on my development version. I can’t use the workflows that affect my s3 bucket since my s3 bucket is deployed on both my development and live versions.
4- My use case: if I use the “delete profile picture” on my development environment, the “delete file” action will delete the file in my s3 bucket. Therefore, the image won’t be available anymore for the development AND the live version.
“Delete file” actions will therefore delete the file for both development AND live versions. Do you get me now?
One solution is to duplicate files in my s3 bucket: upload a “development file” and a “live file” but it’s going to double everything I store in my s3 bucket…
Another solution is to never use the “delete file” actions… But if I never user them, I’m going to get a lot of files that are not needed by my users in my s3 bucket AND I shall not be compliant with regulations as we can’t store data forever.
Another solution is to create multiple workflows for development version and live version. On development, it shouldn’t “delete files” (just erase the url, not the file), whereas on live version, it should. But it’s a painful work to do as for workflows management. (But I guess it’s the best solution there is)
Edit: I just saw/remembered I can use a development bucket and a live bucket from your plugin settings. I’m not used to fill different keys in plugins settings, so I didn’t think about it. I’m sorry I bothered
Edit: I’ve created a development bucket but it’s still a bit complicated to make the “Copy Live data to the development database” useful for debug/tests purposes. Luckily, I found a way to make changes between Live/Dev Bubble database and Live/Dev buckets database.