Say that I have some configuration that need to be stored in a YAML file. The configuration can be updated dynamically from Form Input fields. What I want to achieve is to create a YAML file if it doesn’t exist and write into it. I did this part on my localhost but on production I get “RubyError: Errno::EROFS: Read-only file system @ rb_sysopen” error which seems pretty obvious that I can write to Lambda Function local file system.
Is there a way I could solve my above problem? Also if I put my YAML file over S3 and read/write from there then would there be any be any best practice within Jets Docs to that?