I found `aws.eks.Cluster` which lets me configure ...
# general
b
I found
aws.eks.Cluster
which lets me configure
endpointPrivateAccess
and
endpointPublicAccess
but it seems to be a low level API and I’m not finding anyone using it
r
when creating a Cluster with
new eks.Cluster(...)
,
endpointPublicAccess
is per default
true
. Therefore you can access the k8s API server from anywehre (See https://www.terraform.io/docs/providers/aws/r/eks_cluster.html#vpc_config)
I don't think you can change this parameter when creating a "highlevel" cluster resource however
But what happens if you just adjust the value after creating the highlevel resource? I.e.
Copy code
const cluster = new eks.Cluster(...);
cluster.eksCluster.endpointPrivateAccess = true;
cluster.eksCluster.endpointPublicAccess = false;
w
This is not supported by the
pulumi-eks
package yet. See https://github.com/pulumi/pulumi-eks/issues/86 (and give it a thumbs up!). PRs also welcome (this one should be very simple).
b
Thank you both
Somehow I missed the issue when searching