[Django]-InvalidParameterValueError โ€“ Source bundle is empty or exceeds maximum allowed size: 524288000

3๐Ÿ‘

โœ…

As per the BeanStalk documentation, Your source bundle must meet the following requirements:

  • Consist of a single ZIP file or WAR file (you can include multiple WAR files inside your ZIP file)
  • Not exceed 512 MB
  • Not include a parent folder or top-level directory (subdirectories are fine)

You can reduce the size of your source bundle by adding the unnecessary files to your .gitignore file.
You can estimate the folder sizes using the command du -shc * in the root directory of your application.

๐Ÿ‘คRavi Kumar CH

Leave a comment