Pluralith / pluralith-cli

A tool for Terraform state visualisation and automated generation of infrastructure documentation
https://www.pluralith.com
Mozilla Public License 2.0
763 stars 54 forks source link

exceeds the maximum allowed size #121

Open vlayusuke opened 11 months ago

vlayusuke commented 11 months ago

Envronment: MacBook Pro (16-inch, 2019) macOS 13.4 (Build 22F66)

bash-3.2$ pluralith version
 _
|_)|    _ _ |._|_|_ 
|  ||_|| (_||| | | |

→ CLI Version: 0.2.2
→ Graph Module Version: 0.2.1

When I ran Pluralith locally, I couldn't upload more than the maximum size of files that can be uploaded at the diagram posting step. Are there any plans to increase the upload size in the future?

  ✘ Posting Diagram To Pluralith Dashboard Failed
posting diagram to pluralith Dashboard failed -> PostGraph: request failed -> LogLocalRun: map[code:400 error:map[code:3 details:Document 'projects/pluralith/databases/(default)/documents/orgs/nnnnnnnnn/projects/pluralith-local-project/runs/nnnnnnn' cannot be written because its size (1,766,200 bytes) exceeds the maximum allowed size of 1,048,576 bytes. metadata:map[] note:Exception occurred in retry method that was not classified as transient] message:Logging run failed]
SebastianStulz commented 3 months ago

Same issue here: posting diagram to pluralith Dashboard failed -> PostGraph: request failed -> LogLocalRun: map[code:400 error:map[code:3 details:Document 'XXX' cannot be written because its size (3,135,447 bytes) exceeds the maximum allowed size of 1,048,576 bytes. metadata:map[] note:Exception occurred in retry method that was not classified as transient] message:Logging run failed]

As I would really have appreciated using pluralith to gather a diagram of quite complex (and big) setups - for small ones I would draw it by myself in draw.io ;)