Giter Site home page Giter Site logo

Comments (2)

BrianMMcClain avatar BrianMMcClain commented on June 16, 2024

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.

BrianMMcClain avatar BrianMMcClain commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.