This message was deleted.
# getting-started
s
This message was deleted.
b
EKS/kubernetes clusters are sort of unique in that, you don't need to retrieve them, you just need to build a kubeconfig. You know the name of cluster, so build a kubeconfig using that and go from there
f
p
That sounds helpful - so the
aws.eks.Cluster
class is not useful for this?
@alert-eve-30860 my question here ^^
b
@polite-kite-18322 there's the
aws.eks.Cluster
resource which is part of the aws provider, but we also have pulumi-eks which will set up all of the nodes and iam roles and provision you a kubeconfig
we strongly recommend using pulumi-eks
p
well we have an existing eks cluster created via terraform - don't want to mess with it
b
then just grab the cluster name
p
tried that:
Copy code
* error reading EKS Cluster (arn:aws:eks:us-west-2:xxxxxxxxxx:cluster/prod-eks-cluster): InvalidParameterException: The name parameter contains invalid characters. It should begin with letter or digit and can have any of the following characters: the set of Unicode letters, digits, hyphens and underscores.
(repeated from the start of the thread)
found it:
Copy code
pulumi config set kubernetes:context my-context
thanks!
🙌 1