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

Need update providers versions

6aKa opened this issue · 1 comments

6aKa commented

TL;DR

terraform init
Initializing modules...
Downloading registry.terraform.io/terraform-google-modules/bastion-host/google 4.1.0 for bastion...
- bastion in .terraform/modules/bastion
- bastion.iap_tunneling in .terraform/modules/bastion/modules/iap-tunneling
Downloading registry.terraform.io/terraform-google-modules/vm/google 7.8.0 for bastion.instance_template...
- bastion.instance_template in .terraform/modules/bastion.instance_template/modules/instance_template
Downloading registry.terraform.io/terraform-google-modules/cloud-nat/google 1.4.0 for cloud_nat...
- cloud_nat in .terraform/modules/cloud_nat
Downloading registry.terraform.io/terraform-google-modules/kubernetes-engine/google 21.2.0 for gke...
- gke in .terraform/modules/gke/modules/safer-cluster
- gke.gke in .terraform/modules/gke/modules/beta-private-cluster
Downloading registry.terraform.io/terraform-google-modules/gke-gitlab/google 1.0.0 for gke_gitlab...
- gke_gitlab in .terraform/modules/gke_gitlab
Downloading registry.terraform.io/terraform-google-modules/kubernetes-engine/google 12.4.0 for gke_gitlab.gke...
- gke_gitlab.gke in .terraform/modules/gke_gitlab.gke
Downloading registry.terraform.io/terraform-google-modules/gcloud/google 2.0.3 for gke_gitlab.gke.gcloud_delete_default_kube_dns_configmap...
- gke_gitlab.gke.gcloud_delete_default_kube_dns_configmap in .terraform/modules/gke_gitlab.gke.gcloud_delete_default_kube_dns_configmap/modules/kubectl-wrapper
- gke_gitlab.gke.gcloud_delete_default_kube_dns_configmap.gcloud_kubectl in .terraform/modules/gke_gitlab.gke.gcloud_delete_default_kube_dns_configmap
Downloading registry.terraform.io/terraform-google-modules/gcloud/google 2.0.3 for gke_gitlab.gke.gcloud_wait_for_cluster...
- gke_gitlab.gke.gcloud_wait_for_cluster in .terraform/modules/gke_gitlab.gke.gcloud_wait_for_cluster
Downloading registry.terraform.io/terraform-google-modules/kubernetes-engine/google 10.0.0 for gke_gitlab.gke_auth...
- gke_gitlab.gke_auth in .terraform/modules/gke_gitlab.gke_auth/modules/auth
Downloading registry.terraform.io/terraform-google-modules/project-factory/google 11.3.1 for gke_gitlab.project_services...
- gke_gitlab.project_services in .terraform/modules/gke_gitlab.project_services/modules/project_services
Downloading registry.terraform.io/GoogleCloudPlatform/sql-db/google 11.0.0 for pg...
- pg in .terraform/modules/pg/modules/postgresql
Downloading registry.terraform.io/terraform-google-modules/project-factory/google 11.3.1 for project_apis...
- project_apis in .terraform/modules/project_apis/modules/project_services
Downloading registry.terraform.io/terraform-google-modules/network/google 4.1.0 for vpc...
- vpc in .terraform/modules/vpc
- vpc.firewall_rules in .terraform/modules/vpc/modules/firewall-rules
- vpc.routes in .terraform/modules/vpc/modules/routes
- vpc.subnets in .terraform/modules/vpc/modules/subnets
- vpc.vpc in .terraform/modules/vpc/modules/vpc

Initializing the backend...

Initializing provider plugins...
- Finding hashicorp/google versions matching ">= 2.12.0, >= 3.39.0, >= 3.43.0, >= 3.44.0, >= 3.45.0, >= 3.53.0, ~> 4.0, < 4.0.0, >= 4.4.0, < 5.0.0"...
- Finding hashicorp/random versions matching "~> 2.2.1, ~> 3.1"...
- Finding hashicorp/null versions matching "~> 2.1.2, ~> 3.1.0"...
- Finding latest version of hashicorp/time...
- Finding hashicorp/template versions matching "~> 2.1.2"...
- Finding hashicorp/google-beta versions matching ">= 3.43.0, >= 3.44.0, >= 3.45.0, ~> 4.0, >= 4.4.0, >= 4.10.0, < 5.0.0"...
- Finding hashicorp/kubernetes versions matching "~> 1.10, ~> 1.11.0, != 1.11.0, ~> 2.10"...
- Finding hashicorp/helm versions matching "~> 1.2.0"...
- Finding latest version of hashicorp/external...
- Installing hashicorp/google-beta v4.27.0...
- Installed hashicorp/google-beta v4.27.0 (signed by HashiCorp)
- Installing hashicorp/helm v1.2.4...
- Installed hashicorp/helm v1.2.4 (signed by HashiCorp)
- Installing hashicorp/external v2.2.2...
- Installed hashicorp/external v2.2.2 (signed by HashiCorp)
- Installing hashicorp/time v0.7.2...
- Installed hashicorp/time v0.7.2 (signed by HashiCorp)
- Installing hashicorp/template v2.1.2...
- Installed hashicorp/template v2.1.2 (signed by HashiCorp)
╷
│ Warning: Version constraints inside provider configuration blocks are deprecated
│
│   on .terraform/modules/gke_gitlab.gke/auth.tf line 30, in provider "kubernetes":
│   30:   version                = "~> 1.10, != 1.11.0"
│
│ Terraform 0.13 and earlier allowed provider version constraints inside the provider configuration block, but that is now deprecated and will be removed in a future version of Terraform. To silence this
│ warning, move the provider version constraint into the required_providers block.
╵

╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider hashicorp/google: no available releases match the given constraints >= 2.12.0, >= 3.39.0, >= 3.43.0, >= 3.44.0, >= 3.45.0, >= 3.53.0, ~>
│ 4.0, < 4.0.0, >= 4.4.0, < 5.0.0
╵

╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider hashicorp/random: no available releases match the given constraints ~> 2.2.1, ~> 3.1
╵

╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider hashicorp/null: no available releases match the given constraints ~> 2.1.2, ~> 3.1.0
╵

╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider hashicorp/kubernetes: no available releases match the given constraints ~> 1.10, ~> 1.11.0, != 1.11.0, ~> 2.10
terraform providers

Providers required by configuration:
.
├── provider[registry.terraform.io/hashicorp/kubernetes]
├── provider[registry.terraform.io/hashicorp/template]
├── provider[registry.terraform.io/hashicorp/google] ~> 4.0
├── provider[registry.terraform.io/hashicorp/google-beta] ~> 4.0
├── module.gke
│   └── module.gke
│       ├── provider[registry.terraform.io/hashicorp/kubernetes] ~> 2.10
│       ├── provider[registry.terraform.io/hashicorp/google-beta] >= 4.10.0, < 5.0.0
│       ├── provider[registry.terraform.io/hashicorp/random]
│       └── provider[registry.terraform.io/hashicorp/google]
├── module.gke_gitlab
│   ├── provider[registry.terraform.io/hashicorp/google-beta] >= 3.44.0, < 5.0.0
│   ├── provider[registry.terraform.io/hashicorp/helm] ~> 1.2.0
│   ├── provider[registry.terraform.io/hashicorp/kubernetes] ~> 1.11.0
│   ├── provider[registry.terraform.io/hashicorp/null] ~> 2.1.2
│   ├── provider[registry.terraform.io/hashicorp/random] ~> 2.2.1
│   ├── provider[registry.terraform.io/hashicorp/template] ~> 2.1.2
│   ├── provider[registry.terraform.io/hashicorp/google] >= 3.44.0, < 5.0.0
│   ├── provider[registry.terraform.io/hashicorp/time]
│   ├── module.gke
│       ├── provider[registry.terraform.io/hashicorp/google] >= 3.39.0, < 4.0.0
│       ├── provider[registry.terraform.io/hashicorp/kubernetes] ~> 1.10, != 1.11.0
│       ├── provider[registry.terraform.io/hashicorp/random]
│       ├── module.gcloud_delete_default_kube_dns_configmap
│           └── module.gcloud_kubectl
│               ├── provider[registry.terraform.io/hashicorp/null]
│               ├── provider[registry.terraform.io/hashicorp/random]
│               └── provider[registry.terraform.io/hashicorp/external]
│       └── module.gcloud_wait_for_cluster
│           ├── provider[registry.terraform.io/hashicorp/null]
│           ├── provider[registry.terraform.io/hashicorp/random]
│           └── provider[registry.terraform.io/hashicorp/external]
│   ├── module.gke_auth
│       ├── provider[registry.terraform.io/hashicorp/google]
│       └── provider[registry.terraform.io/hashicorp/template]
│   └── module.project_services
│       ├── provider[registry.terraform.io/hashicorp/google-beta] >= 3.43.0, < 5.0.0
│       └── provider[registry.terraform.io/hashicorp/google] >= 3.43.0, < 5.0.0
├── module.pg
│   ├── provider[registry.terraform.io/hashicorp/google-beta] >= 4.4.0, < 5.0.0
│   ├── provider[registry.terraform.io/hashicorp/null] ~> 3.1.0
│   ├── provider[registry.terraform.io/hashicorp/random] ~> 3.1
│   └── provider[registry.terraform.io/hashicorp/google] >= 4.4.0, < 5.0.0
├── module.project_apis
│   ├── provider[registry.terraform.io/hashicorp/google] >= 3.43.0, < 5.0.0
│   └── provider[registry.terraform.io/hashicorp/google-beta] >= 3.43.0, < 5.0.0
├── module.vpc
│   ├── provider[registry.terraform.io/hashicorp/google] >= 2.12.0, < 5.0.0
│   ├── provider[registry.terraform.io/hashicorp/google-beta] >= 3.45.0, < 5.0.0
│   ├── module.firewall_rules
│       └── provider[registry.terraform.io/hashicorp/google] >= 2.12.0, < 5.0.0
│   ├── module.routes
│       └── provider[registry.terraform.io/hashicorp/google] >= 2.12.0, < 5.0.0
│   ├── module.subnets
│       └── provider[registry.terraform.io/hashicorp/google] >= 2.12.0, < 5.0.0
│   └── module.vpc
│       ├── provider[registry.terraform.io/hashicorp/google-beta] >= 3.45.0
│       └── provider[registry.terraform.io/hashicorp/google] >= 3.45.0
├── module.bastion
│   ├── provider[registry.terraform.io/hashicorp/google] >= 3.53.0, < 5.0.0
│   ├── provider[registry.terraform.io/hashicorp/random]
│   ├── module.iap_tunneling
│       └── provider[registry.terraform.io/hashicorp/google] >= 3.53.0, < 5.0.0
│   └── module.instance_template
│       └── provider[registry.terraform.io/hashicorp/google] >= 3.43.0, < 5.0.0
└── module.cloud_nat
    ├── provider[registry.terraform.io/hashicorp/google]
    └── provider[registry.terraform.io/hashicorp/random]

╷
│ Warning: Version constraints inside provider configuration blocks are deprecated
│
│   on .terraform/modules/gke_gitlab.gke/auth.tf line 30, in provider "kubernetes":
│   30:   version                = "~> 1.10, != 1.11.0"
│
│ Terraform 0.13 and earlier allowed provider version constraints inside the provider configuration block, but that is now deprecated and will be removed in a future version of Terraform. To silence this
│ warning, move the provider version constraint into the required_providers block.

Expected behavior

No response

Observed behavior

No response

Terraform Configuration

Not changed

Terraform Version

Terraform v1.2.3

Additional information

No response

Hi @6aKa - Thanks for reaching out. The fix for this should be included in the next release #102