Closed eeaton closed 1 month ago
Hi @eeaton - The lint workflow's module_swapper
automatically converts the examples to use the pull requests version of the module source code, so they are always in-sync: https://github.com/terraform-google-modules/terraform-google-vpc-service-controls/blob/master/.github/workflows/lint.yaml#L47
This should also occur with make docker_test_lint
unless it's an old version (pre ~1.18.5?) of dev-tools?
Closing this issue, a later set of dependabot PR addressed it https://github.com/terraform-google-modules/terraform-google-vpc-service-controls/pull/145
TL;DR
Running
make_docker_test_lint
locally fails because some of the examples use v5 but the arguments like vpc_network_sources that require v6.Expected behavior
terraform_validate (triggered by running
make_docker_test_lint
from inside the repo) should workObserved behavior
running
make_docker_test_lint
fails with the following error:Terraform Configuration
Terraform Version
Additional information
It's odd to me that lint tests on other recent changes in the repo have succeeded even when the lint fails locally and the version in example folder clearly does not support the new arguments. Is there a possibility that the automated CI testing on this repo does not run
make_docker_test_lint
correctly?