-
Notifications
You must be signed in to change notification settings - Fork 414
Required variable kube_worker_ips is not set #1329
Comments
cc @BrianHicks @Zogg |
@joe1chen We're turning on Kubernetes by default soon, so that's why those are in the default Terraform configs. That variable shouldn't be required if you have an K8S workers, though, this is probably a bug. |
I guess currently it is a bug then since the |
Sorry you've been bitten by this @joe1chen, we try to keep backwards compatibility but looks like we haven't this time. @siddharthist is right that it's a bug. You should be able to set the variable to an empty string to avoid creating records. We'll try and set this (or something else reasonable) by default in 1.1. |
ah ha, we were commenting at the same time. If |
Got it, I see now the |
Well your timing is just right, I could sure use someone to test out PR #1330 if you're interested. There be dragons there, though, and you may want to wait if you're wanting a production K8s cluster from that branch. |
If not set, this causes Terraform to error. This is a problem for those coming from 1.0.x Terraform configurations. Fixes #1329
If not set, this causes Terraform to error. This is a problem for those coming from 1.0.x Terraform configurations. Fixes #1329
ansible --version
): 1.9.5python --version
): 2.7.10terraform version
): 0.6.14I had mantl up and running on master with the revision just before the kubernetes changes were merged in. Now, when trying to run
terraform apply
I'm getting the error:It looks like the
terraform/cloudflare/main.tf
now requires akube_worker_ips
to be passed in even if I don't have any kubernetes workers. Also, it will try to create cloudflare records fordns-kube-worker
if I pass in something forkube_worker_ips
.Maybe this needs to be refactored out of the general Cloudflare DNS terraform. There should be a
k8-main.tf
or something that you could include if you want DNS settings for kubernetes.The text was updated successfully, but these errors were encountered: