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

"jq: command not found" during first apply #16

Open
yevheniir opened this issue Aug 28, 2020 · 0 comments
Open

"jq: command not found" during first apply #16

yevheniir opened this issue Aug 28, 2020 · 0 comments

Comments

@yevheniir
Copy link

yevheniir commented Aug 28, 2020

I get an error during the first terraform apply. Then this error appears during the plan

`Error: failed to execute ".terraform/modules/cluster.cluster/scripts/kubeadm-token.sh": .terraform/modules/cluster.cluster/scripts/kubeadm-token.sh: line 6: jq: command not found
ssh: Could not resolve hostname : Name or service not known

on .terraform/modules/cluster.cluster/controller.tf line 59, in data "external" "kubeadm_join":
59: data "external" "kubeadm_join" {

Error: failed to execute ".terraform/modules/cluster.cluster/scripts/gateway.sh": .terraform/modules/cluster.cluster/scripts/gateway.sh: line 6: jq: command not found
ssh: Could not resolve hostname : Name or service not known
.terraform/modules/cluster.cluster/scripts/gateway.sh: line 13: jq: command not found

on .terraform/modules/cluster.cluster/nodes.tf line 80, in data "external" "private_ipv4_gateway":
80: data "external" "private_ipv4_gateway" {`

Terraform 12.28
Module configurations:

`module "cluster" {
source = "github.com/packet-labs/kubernetes-bgp"

auth_token = var.AUTH_TOKEN
organization_id = var.org_id
project_name = "ingestion"
facilities = ["ams1"]
controller_plan = "c1.small.x86"
worker_plan = "c1.small.x86"
worker_count = 1
docker_version = "19.03.10"
kubernetes_version = "1.18.3"
kubernetes_port = "6443"
kubernetes_dns_ip = "192.168.0.10"
kubernetes_cluster_cidr = "172.16.0.0/12"
kubernetes_service_cidr = "192.168.0.0/16"
kubernetes_dns_domain = "cluster.local"
}`

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