Skip to content

Tech @ Coop Norge SA

How engineers, designers, data scientists and product managers are working to deliver value to customers of Coop in Norway.

Lord Spacington the Third, Devourer of Tabs

When I develop new features, I keep forgetting to clean up my code. I'll try out a new workflow or editor, and forget to include all the linters and formatters. Here's how we automatically correct stupid mistakes in CI, even after they've slipped through the cracks on my machine.

Focus on what you can control, never bother with the rest.

Lord Spacington the Third, Devourer of Tabs Lord Spacington will happily devour your tabs. Lest we forget.

Forking a Terraform Provider for PGP encryption: Adding support for new key types

Coop Norge SA uses Terraform heavily to manage cloud resources as infrastructure as code. Some of the created cloud resources also creates a set of credentials, required to access these resources. If the credentials should be distributed to a team inside Coop, they can be distributed directly to a secure key vault in the cloud, but if they need to be distributed to an external party (such as one of Coop's partners), another secure way must be used. Coop Norge SA opted to share secrets by encrypting files containing the secrets with asymmetric cryptographic keys, using Pretty Good Privacy (PGP).