News for hackers. Stuff that matters.
Re:Building a static serverless website using S3 and CloudFront by iudqnolq on Monday February 17, 2020 @08:42PM (#22352705)
Thanks for the advice! I was stuck thinking I'd have to learn something like Ansible to automate deployments, bash scripts is a greatidea.I

I have Linux on my laptop and I've been trying to document what I configure with heavily commented bash code, but I've run into issues with editing config files. I frequently want to say something like "edit this variable to this value" but sed feels too fragile and easy to mess up silently, relacing the entire file is silently badly future incompatible if other entries in the config get changed in an update, and appending to the file so the last item overrides feels hacky and doesn't always work.

How does everyone else do that?

There are no comments on this comment yet.