Terraform Modules Directory Dependency
Terrateam behavior can be configured via a
config.yml. This file is located in
a directory named
.terrateam at the root of your Terraform repository:
See Configuration documentation for details.
Create a source modules directory dependency that triggers an operation for another directory.
dirs: modules: when_modified: file_patterns:  ec2: when_modified: file_patterns: ["ec2/*.tf", "modules"]