terraform-google-modules / terraform-google-gke-gitlab

Installs GitLab on Kubernetes Engine

Home Page:https://registry.terraform.io/modules/terraform-google-modules/gke-gitlab/google

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unsupported Terraform Core version Error

getkub opened this issue · comments

While using simple code:

module "my-gitlab" {
    source                      = "terraform-google-modules/gke-gitlab/google"
    project_id                  = var.project_id
    region                      = var.default_region
    certmanager_email           = var.certmanager_email
}

Getting below error

Error: Unsupported Terraform Core version
│
│   on .terraform/modules/mod-gitlab.gke-gitlab.project_services/modules/project_services/versions.tf line 18, in terraform:
│   18:   required_version = ">=0.12.6, <0.14"
│
│ Module module.mod-gitlab.module.gke-gitlab.module.project_services (from terraform-google-modules/project-factory/google//modules/project_services) does not support Terraform version 1.0.0. To proceed, either choose another supported
│ Terraform version or update this version constraint. Version constraints are normally set for good reason, so updating the constraint may lead to other errors or unexpected behavior.

Using GCP console terraform and details below

>> terraform version
Terraform v1.0.0
on linux_amd64

The current version does not support Terraform 1.0.0! I've submitted a PR (#84) to fix that and do some other cleanups.

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days