Closed wyardley closed 4 years ago
Yes, the valid list of machine types is not included in the Magic Modules, so it is out of scope in v0.1.0.
The difficulty is that GCP allows you to add custom machine types, so there is no single valid list. However, I plan to minimize false positives by allowing machine types that start with custom-
.
Duplicate of #1
Oh right. Good point. And thanks for getting this started, and for your work on tflint in general.
Not sure if this is related to https://github.com/terraform-linters/tflint-ruleset-google/pull/7, or if it's just a limitation of magic modules itself (the compute stuff being very old), but is it intended that this rule can validate compute instance types yet?
For example, something like this passes validation with tflint and the plugin, as best I can see:
from the same directory: