Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default JX cluster provisioning fails #205

Open
shuknk8s opened this issue Aug 4, 2021 · 0 comments
Open

Default JX cluster provisioning fails #205

shuknk8s opened this issue Aug 4, 2021 · 0 comments

Comments

@shuknk8s
Copy link

shuknk8s commented Aug 4, 2021

Followed the documentation below on README.md to spin up a default jx cluster on GKE with the content of the main.tf provided but the terraform version 1.0.3 installed on my ubuntu laptop failed to initialize

Cluster provisioning
A default Jenkins X ready cluster can be provisioned by creating a file main.tf in an empty directory with the following content:

module "jx" {
source = "jenkins-x/jx/google"

gcp_project = ""
}

output "jx_requirements" {
value = module.jx.jx_requirements
}

Below is the terraform version and the error

  jx-cluster-provisioning  terraform version
Terraform v1.0.3
on linux_amd64

Error on terraform module init

Initializing modules...

│ Warning: Version constraints inside provider configuration blocks are deprecated

│ on .terraform/modules/jx/main.tf line 15, in provider "google":
│ 15: version = ">= 3.46.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.

│ (and 7 more similar warnings elsewhere)


│ Error: Unsupported Terraform Core version

│ on .terraform/modules/jx/main.tf line 7, in terraform:
│ 7: required_version = ">= 0.12.0, < 0.15"

│ Module module.jx (from jenkins-x/jx/google) does not support Terraform version 1.0.3. 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.


│ Warning: Version constraints inside provider configuration blocks are deprecated

│ on .terraform/modules/jx/main.tf line 15, in provider "google":
│ 15: version = ">= 3.46.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.

│ (and 7 more similar warnings elsewhere)


│ Error: Unsupported Terraform Core version

│ on .terraform/modules/jx/main.tf line 7, in terraform:
│ 7: required_version = ">= 0.12.0, < 0.15"

│ Module module.jx (from jenkins-x/jx/google) does not support Terraform version 1.0.3. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant