I'm trying to create an AWS EKS cluster with Pulumi and it seems two components exists:
@pulumi/eksproviding aClustercomponent@pulumi/awsproviding aneks/Clustercomponent
@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?
CodePudding user response:
@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
- AWS Crosswalk: AWS Elastic Kubernetes Service
- Easily Create and Manage AWS EKS Kubernetes Clusters with Pulumi.
I suggest you start with @pulumi/eks and see if it works well for you.
