1

I'm trying to create an AWS EKS cluster with Pulumi and it seems two components exists:

@pulumi/eks seems to be higher level but I cannot find a documentation specifying the concrete difference between those, and if one is preferred depending on use cases.

What's the difference between those two components?

Pierre B.
  • 11,612
  • 1
  • 37
  • 58

1 Answers1

4

@pulumi/eks/Cluster is a component resource that is built on top of @pulumi/aws/eks/Cluster and other resources to simplify provisioning of EKS clusters. Its goal is to make common scenarios achievable with a handful of lines of code, as opposed to the involved model of raw AWS resources.

You can find some usage examples in

I suggest you start with @pulumi/eks and see if it works well for you.

Mikhail Shilkov
  • 34,128
  • 3
  • 68
  • 107
  • Thanks, looking at the source code `@pulumi/eks` is indeed using Go import from `pulumi/aws` such as `github.com/pulumi/pulumi-aws/sdk/v4/go/aws/eks`. – Pierre B. Sep 20 '21 at 13:31