awsmobile-cli icon indicating copy to clipboard operation
awsmobile-cli copied to clipboard

Excessive S3 usage

Open baharev opened this issue 6 years ago • 4 comments

I noticed that my S3 usage was surprisingly high and I had no idea why. It turns out that versioning is enabled on the bucket for the backend deployments. The command line utility could at least warn about versioning / remind me to this every time I deploy. Note that we have the issue of superfluous re-deploys #34, which makes the matter a lot worse.

The other thing I don't understand: Why I get 5 different versions after a deploy?

why_that_many_versions

I apologize if this is something trivial, but it is not what I expected, and it makes no sense to me. I only did a single awsmobile publish, why do I get 5 different versions?

baharev avatar Jan 21 '18 23:01 baharev

Hi @baharev , thank you for trying the cli and bringing up this issue. We'll be looking into it.

manueliglesias avatar Jan 22 '18 17:01 manueliglesias

Note that the triggers for my Lambda have been mysteriously duplicated (see the screenshot below). I have 2 triggers, and each one has been duplicated somehow...

screenshot_2018-01-28_01-29-48

As for the multiple zip files for a single awsmobile publish, I still have this issue today with awsmobile v1.0.12.

baharev avatar Feb 03 '18 14:02 baharev

This is a server side issue, we've identified the cause for multiple versions of zip files been uploaded, the server side team has been notified, we will inform you on the progress.

UnleashedMind avatar Feb 03 '18 19:02 UnleashedMind

@UnleashedMind OK, thanks for the feedback. The duplicate triggers too?

baharev avatar Feb 03 '18 21:02 baharev