Menu

Five Things That Make Dependabot Painful for Terraform
πŸ“°

Five Things That Make Dependabot Painful for Terraform

DEV Community: terraformΒ·Hiroshi ToyamaΒ·13 days ago
#NjwAiico
#devtoterraform#devto#dev#terraform#dependabot
Reading 0:00
15s threshold

A Terraform block in dependabot.yml looks identical to an npm or uv one:

- package-ecosystem : terraform directory : /terraform/env schedule : interval : weekly

Enter fullscreen mode

Exit fullscreen mode

It behaves nothing like one. We rolled Dependabot out across a GCP monorepo β€” four deployable services, eight Terraform directories, a shared infra root β€” and the Terraform half cost more time than every other ecosystem combined. Here is what actually bit us, and what the fixes look like.

1. directory takes one literal path, so a monorepo means N copies of the same block

There is no globbing in the singular directory key. Our repo splits Terraform ownership: Cloud Run services and their observability live under each service's own terraform/ , while service accounts, IAM, shared VPC and Cloud SQL live in a root terraform/ .…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.