i am trying to create a new eks cluster using one ...
# general
m
i am trying to create a new eks cluster using one of my existing vpc and subnet's but i keep getting the error
Copy code
Error: eks:index:Cluster is not assignable from {vpcId: string, subnetIds: string, instanceType: string, desiredCapacity: number, minSize: number, maxSize: number, createOidcProvider: boolean, version: string}
      on Pulumi.yaml line 13:
here is my code
Copy code
name: outbound-proxy
runtime: yaml
description: OpenSIPS  proxy

resources:
  outbound-proxy:
    type: eks:Cluster
    properties:
      vpcId: vpc-xxxx
      subnetIds: subnet-xxx','subnet-xx'
      instanceType: t2.medium
      desiredCapacity: 2
      minSize: 1
      maxSize: 3
      createOidcProvider: true
      version: "1.18"
    # To use the EKS module from Pulumi, these options need to specify the Pulumi EKS package version
    options:
      version: 1.0.3 # Update to use the appropriate version

# The Pulumi EKS package simplifies creating EKS clusters.
# Documentation for `eks.Cluster`: <https://www.pulumi.com/registry/packages/eks/api-docs/cluster/>

outputs:
  kubeconfig: ${myEksCluster.kubeconfig}
  clusterName: ${myEksCluster.name}
  clusterEndpoint: ${myEksCluster.endpoint}