Using 1Password Secrets to Deploy Hugo to S3

Hugo helpfully supports the deployment of processed files to an S3 bucket, and the 1Password op command line utility makes injecting AWS access keys super easy and secure. This is far superior to the aws s3 sync command I had been running until now! 🤷‍♂️️ ...

Serving Directory Index Files With CloudFront Functions

I recently migrated from hosting this site on Gitlab pages (still an excellent option, BTW) to hosting on AWS S3 via CloudFront. This solution isn’t cheaper, but I’ve been working on AWS concepts of late and thought this would be a good exercise - and I was right! :-) I expect to write more about what I learned in that exercise, but I wanted to start with the problem of directory index files, since this solution didn’t come up often in my search for solutions. There are lots of pages out there talking about hosting static pages on S3 and CloudFront has a Default root object setting for each Distribution. But I discovered that only works for the root of the distribution - not any subdirectories. ...