Comments (2)
Hi @balaji-source! Can you provide more information on any errors you are receiving? Just for reference, the kubeconfig won't be stored as an output directly, instead it's fetched from AWS by the aws
CLI
In the same directory as your Terraform configuration, if you run the following command:
aws eks --region $(terraform output -raw region) update-kubeconfig --name $(terraform output -raw cluster_name)
You should see something similar to the following output:
Added new context arn:aws:eks:us-east-2:id:cluster/cluster-name to /Users/myusername/.kube/config
This should also automatically set the current kubectl context to the new EKS cluster
$ kubectl config current-context
arn:aws:eks:us-east-2:id:cluster/cluster-name
One final thing I'll note is that the tutorial and the EKS module have both been recently updated. If you'd like to give it another go and provide the output of the aws eks
command, I'd be more than happy to help debug the issue :) Thanks!
from learn-terraform-provision-eks-cluster.
Closing for now, but if you're still seeing this issue, please feel free to reopen! Thanks! 😄
from learn-terraform-provision-eks-cluster.
Related Issues (20)
- Local Zones can cause terraform apply to fail HOT 1
- AWS EKS managed security group doubt HOT 1
- Amazon EBS CSI Driver status Degraded
- Organisation error when doing terraform init HOT 1
- Unsuported argument subnets: adapt sample code to module eks version >= 18.0 HOT 2
- Error creating EIP: AddressLimitExceeded: The maximum number of addresses has been reached. HOT 2
- EKS Module does not allow clean destroy (dependency violation) HOT 9
- 'NoneType' object is not iterable while trying to update-kubeconfig HOT 2
- Error: Query Returned No Results (aws_ami) HOT 3
- init fails with "...hashicorp/aws: the previously-selected version 4.15.1 is no longer available" HOT 1
- Invalid principal in policy HOT 2
- Library needs updating
- pre_bootstrap_user_data in eks_managed_node_groups is unusable for BOTTLEROCKET and hence containerd cannot be used
- SyncLoadBalancerFailed: Error syncing load balancer: failed to ensure load balancer: Multiple tagged security groups found for instance
- node pools failing to join cluster HOT 1
- `terraform init` broken HOT 1
- Pods running on different nodes but same namespace are not able to reach each other HOT 1
- Why do you use `aws_eks_addon` instead of the eks module parameter? HOT 3
- Error: error reading IAM policy (arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from learn-terraform-provision-eks-cluster.