crooked-lunch-29479
04/25/2023, 6:20 PMfunc main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := eks.LookupCluster(ctx, &eks.LookupClusterArgs{
Name: "example",
}, nil)
if err != nil {
return err
}
ctx.Export("endpoint", example.Endpoint)
ctx.Export("kubeconfig-certificate-authority-data", example.CertificateAuthorities[0].Data)
ctx.Export("identity-oidc-issuer", example.Identities[0].Oidcs[0].Issuer)
return nil
})
}
billowy-army-68599
04/25/2023, 6:43 PMcrooked-lunch-29479
04/25/2023, 6:54 PMCreateOidcProvider: pulumi.Bool(true),
If this would work then I wouldn’t even need the issuer urlbillowy-army-68599
04/25/2023, 6:54 PMcrooked-lunch-29479
04/25/2023, 6:55 PMbillowy-army-68599
04/25/2023, 6:56 PMcrooked-lunch-29479
04/25/2023, 6:59 PMbillowy-army-68599
04/25/2023, 7:02 PM"<http://github.com/pulumi/pulumi-aws/sdk/v5/go/aws/eks|github.com/pulumi/pulumi-aws/sdk/v5/go/aws/eks>"
Is the EKS package from AWS
"<http://github.com/pulumi/pulumi-eks/sdk/go/eks|github.com/pulumi/pulumi-eks/sdk/go/eks>"
Which abstracts away a lot of the pain of building an EKS cluster, including adding nodes and creating the OIDC providercrooked-lunch-29479
04/25/2023, 7:03 PMbillowy-army-68599
04/25/2023, 7:04 PMcrooked-lunch-29479
04/25/2023, 7:05 PMbillowy-army-68599
04/25/2023, 7:06 PMcrooked-lunch-29479
04/25/2023, 7:09 PMbillowy-army-68599
04/25/2023, 7:18 PMcrooked-lunch-29479
04/25/2023, 7:18 PMbillowy-army-68599
04/25/2023, 7:19 PMcrooked-lunch-29479
04/25/2023, 7:19 PM