-
Notifications
You must be signed in to change notification settings - Fork 75
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
provider_missing_default_tags does not work with dynamic tags #850
Comments
Well what's the module definition? |
@bendrucker The module outputs something like that
|
What about the module call? Are all of those variables set? Regardless, the definite bug here would be that required tags aren't suppressed entirely if the provider has default tags that are unknown. When that happens, the rule should assume those default tags could be anything and return early without any further checks. |
The module is called this way :
And it does not have default values:
It does not have default values but the values are set. |
And |
Yes
|
Hmm, so in theory That said, #851 will fix the false positive issue that you're seeing. |
Oh I see. Thanks a lot for finding the issue with tflint directly I didn't see it. Thanks again for providing a fix for the false positive 🙇 |
We imports tags from a module.
And apply them this way :
When trying to add the rule :
tflint fails saying that theses tags are not set.
If I manually set the tagsm it runs successfuly :
I'm not sure if it is expected or not?
The text was updated successfully, but these errors were encountered: