Skip to content
Verified Commit 160d7983 authored by Andrew Newdigate's avatar Andrew Newdigate ⛰️
Browse files

feat: speedup Terraform steps by validating root modules only

Part of https://gitlab.com/gitlab-com/gl-infra/gitlab-dedicated/team/-
/issues/3157

This reduces the time taken to terraform validate a repository by
skipping all non-root modules.

BREAKING CHANGE: only root modules are validated. Other modules are
validated by being called from a root module. Any unused modules will
not be validated. Root modules are signalled by the fact that they have
a .terraform-lock.hcl file in the same directory.
parent e838f3c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment