jetstack / terraform-google-gke-cluster

A Terraform module to create a best-practise Google Kubernetes Engine (GKE) cluster.
Apache License 2.0
161 stars 87 forks source link

verify-terraform local module version error #43

Closed wwwil closed 5 years ago

wwwil commented 5 years ago

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.

repo-lockdown[bot] commented 4 years ago

This project is now deprecated so we aren't accepting any further changes.