what
- Use
kubernetes
provider to apply Auth ConfigMap
why
- Don't rely on
local_file
to generate the Auth ConfigMap since the file gets recreated every timeterraform plan/apply
runs in a new container, and Terraform always tries to recreate the Auth ConfigMap
test
TestExamplesComplete 2020-03-23T16:59:01Z command.go:121: module.eks_cluster.null_resource.wait_for_cluster[0] (local-exec): EKS cluster available
TestExamplesComplete 2020-03-23T16:59:01Z command.go:121: module.eks_cluster.null_resource.wait_for_cluster[0]: Creation complete after 1s [id=377251896115112725]
TestExamplesComplete 2020-03-23T16:59:01Z command.go:121: module.eks_cluster.kubernetes_config_map.aws_auth[0]: Creating...
TestExamplesComplete 2020-03-23T16:59:01Z command.go:121: module.eks_cluster.kubernetes_config_map.aws_auth[0]: Creation complete after 0s [id=kube-system/aws-auth]
Waiting for worker nodes to join the EKS cluster
Worker Node ip-172-16-120-188.us-east-2.compute.internal has joined the EKS cluster at 2020-03-23 16:59:52 +0000 UTC
Worker Node ip-172-16-152-158.us-east-2.compute.internal has joined the EKS cluster at 2020-03-23 16:59:53 +0000 UTC
All worker nodes have joined the EKS cluster