Search code examples
amazon-web-servicesamazon-ekspulumi

Pulumi EKS cluster: @pulumi/eks vs. @pulumi/aws


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?


Solution

  • @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.