Silverfin Engineering

Thoughts, stories and ideas.

Provisioning compute instances with Chef from Terraform

The problem When Terraform 0.13.4 [https://www.hashicorp.com/blog/announcing-hashicorp-terraform-0-15-general-availability] was released, various provisioners, including the Chef provisioner, were deprecated [https://discuss.hashicorp.com/t/notice-terraform-to-begin-deprecation-of-vendor-tool-specific-provisioners-starting-in-terraform-0-13-4/13997] with no replacement. They were later removed in Terraform 0.15 [https://www.hashicorp.com/blog/announcing-hashicorp-terraform-0-15-general-availa
3 min read
Featured

PostgreSQL zero-downtime migration of a primary key from int to bigint (with Ruby on Rails specific notes)

“90% what?” “I said this table is at 90%.” “Of what?” “Of int values for its primary key.” “That .. doesn’t sound good.” “No, if it gets to 100% we’re down.” “That’s not good.” “No, captain obvious.” “So what do we do?” “We have to migrate it to
10 min read