When creating a test project from the example project the verify-terraform.sh script copies the examples files and changes module source from the version on Terraform Registry to the local version.
Previously with the local path it would ignore the specified version. However Terraform 0.12 does not, and give the following error:
Initializing modules...
- cluster in ..
Error: Invalid version constraint
Cannot apply a version constraint to module "cluster" (at main.tf:86) because
it has a relative local path.
Error: Invalid version constraint
Cannot apply a version constraint to module "cluster" (at main.tf:86) because
it has a relative local path.
The verify-terraform.sh script needs to comment out or remove this version requirement.
When creating a test project from the example project the
verify-terraform.sh
script copies the examples files and changes module source from the version on Terraform Registry to the local version.Previously with the local path it would ignore the specified version. However Terraform 0.12 does not, and give the following error:
The
verify-terraform.sh
script needs to comment out or remove this version requirement.