melodic-secretary-404
02/14/2024, 1:48 PMError: 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
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}