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

False ERROR:3 on instance_type with modules using. #104

Closed
Nklya opened this issue Apr 20, 2017 · 3 comments
Closed

False ERROR:3 on instance_type with modules using. #104

Nklya opened this issue Apr 20, 2017 · 3 comments
Labels

Comments

@Nklya
Copy link

Nklya commented Apr 20, 2017

Hello.

I've found false error reporting on instance_type when use modules.
Test repo https://github.com/Nklya/tflint-example

TFLint version 0.3.4

tflint-example  tflint
./modules/test1/main.tf
NOTICE:1 "iam_instance_profile" is not specified. If you want to change it, you need to recreate instance. (Only less than Terra
form 0.8.8)
ERROR:3 "${var.instance_type}" is invalid instance type.
Result: 2 issues (1 errors , 0 warnings , 1 notices)

However, instance_type correctly set in variables.tf, modules/test1/variables.tf and terraform successfully apply this configuration.

@wata727 wata727 added the bug label Apr 20, 2017
@wata727
Copy link
Member

wata727 commented Apr 20, 2017

I appreciate the example 🙏
I understood this bug. I will fix it soon.

@wata727
Copy link
Member

wata727 commented Apr 23, 2017

@Nklya TFLint v0.3.5 has been released. This bug has been fixed in this version. Please try it!

@Nklya
Copy link
Author

Nklya commented Apr 23, 2017

Yes, v0.3.5 works fine with all of my projects.
Thanks!

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

No branches or pull requests

2 participants