Some photography, SRE, and a little DevOps!
Recent Posts
Updating X-Clacks-Overhead: GNU Terry Pratchett
Adding x-clacks-overhead HTTP header to a Cloudfront Hosted site, using
a response headers policy.
read more
Setting the Priority of Pagerduty Incidents with Service Event Rules in Terraform
Using Terraform pagerduty_service_event_rule to set an incident’s Priority based on it’s severity.
read more
Managing PagerDuty Business Services With Terraform
This is my third blog post about PagerDuty, and the second about using the Terraform provider for PagerDuty. This time I’ll be focusing on business services.
So far I’ve not a chance to make use of business services, but I have spent quite sometime investigating and creating custom tooling using the APIs following the release in early 2020 (which was before I started on my Terraform journey). I can see how business services would be very useful when widely adopted and combined with status pages, which don’t have APIs yet 😢.
read more
PagerDuty Change Events & GitHub Actions
Following on from Managing PagerDuty Services With Terraform, another rather nice PagerDuty feature is Change Events. This was release at last years PagerDuty Summit. Which I started making use of these a few months ago, as they add some additional context around possible changes that were deployed that could be relevant for incidents on the service.
Using them is in GitHub is really simple, first you just need to add the integration to the service.
read more
Managing PagerDuty Services With Terraform
For the last couple of years, I had been the primary maintainer for some tooling which makes heavy use of the PagerDuty REST API. Given my increasing use of Terraform plus now PagerDuty has a free account level. I thought I could get myself a PD account for receiving alerts from any monitoring for my blog that I may do and more importantly also complete a little brain bump of some PagerDuty + Terraform thoughts that are currently rattling around before start focusing on different things for my new job next week.
read more
Keeping Hugo Upto Date With Github Actions
It’s been about 5 months since I moved this blog over to a static site build with Hugo and in this time I’ve never really gotten round to updating Hugo following new releases. So the solution that jumped out recently was to automate upgrades via GitHub actions.
Finding out the current release is very easy as Hugo is hosted on GitHub, plus they publish releases. This means it’s possible to get the tag for the latest version with Javascript as follows:
read more