Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comingling of locals #213

Open
lijok opened this issue Sep 12, 2020 · 0 comments
Open

Comingling of locals #213

lijok opened this issue Sep 12, 2020 · 0 comments

Comments

@lijok
Copy link

lijok commented Sep 12, 2020

if I have a resource such as

resource aws_s3_bucket this {
  tags = local.tags
}

I see that config-lint injects local.tags into tags there when reading the files

However, if I run config-lint without singling out a module, i.e config-lint -debug -rules .configlint/global.yml, and it reads in files from modules/aws/module_a and modules/aws/module_b, it injects local.tags from module_b into resource blocks of module_a and vice versa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant