Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

[RM-5895] Skip .terraform directory for tf configs #181

Merged
merged 1 commit into from
Aug 31, 2021

Conversation

jason-fugue
Copy link
Contributor

This PR makes two changes:

  1. Regula will no longer recurse into directories that have already been loaded. Right now, this situation only occurs for Terraform configurations.
  2. It adds the .terraform directory to the list of loaded paths for Terraform configurations.

These changes fix a bug where we're loading modules and their examples as separate configurations in some scenarios.

@jason-fugue jason-fugue merged commit da8028e into master Aug 31, 2021
@jason-fugue jason-fugue deleted the fix/RM-5895/skip-terraform-dir branch August 31, 2021 16:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants