Test are downloaded during initialization

I noticed that running terraform init that the any test in the module are also downloaded. Is that expected behavior?

I can understand this is likely due to git cloning, so you get whatever is in the repo. Just seems a bit odd to list out each test.

Hi @b01, I think your assessment is correct that it will likely download the tests due to just cloning the whole repository but the Terraform commands themselves should just ignore them.

If you run terraform test after the init command reports the referenced modules tests does it execute them? If it does then it’s definitely a bug somewhere. If not, then it’s likely just a rendering error. Still something we could fix, but of lower priority.