coreos / terraform-aws-kubernetes

Install a Kubernetes cluster the CoreOS Tectonic Way: HA, self-hosted, RBAC, etcd Operator, and more
Apache License 2.0
116 stars 67 forks source link

errors in apply due to some kind of eventual consistency issue? #6

Open winstonliu1111 opened 6 years ago

winstonliu1111 commented 6 years ago

Hi,

I noticed that sometimes when I try to bring up a cluster, I get the following errors for the first run of plan/apply, which looks like some kind of eventual consistency issue, as doing another plan/apply after these errors would then successfully bring up the cluster. has anyone else seen this?

Error applying plan:

4 error(s) occurred:

JAtula commented 6 years ago

Hi @winstonliu1111 !

Yeap, just saw the exact same issue:

Error: Error applying plan:

4 error(s) occurred:

squat commented 6 years ago

@JAtula @winstonliu1111 can you please share your configuration?

winstonliu1111 commented 6 years ago

module "k8s-aws" { source = "coreos/kubernetes/aws" tectonic_worker_count = "1" tectonic_base_domain = "my_domain" tectonic_cluster_name = "my_cluster_name" tectonic_pull_secret_path = "my_pull_secret_path" tectonic_license_path = "my_license_path" tectonic_admin_email = "my_admin_email" tectonic_admin_password_hash = "my_admin_password_hash" tectonic_aws_ssh_key = "my_ssh_key" tectonic_aws_region = "us-west-1" }

I see same issue sometimes when I point the source directly to this repo. terraform used was v0.10.7