This message was deleted.
# getting-started
s
This message was deleted.
d
It looks like you've passed too many objects to the Cluster resource, so it won't be using the correct provider
f
Is the provider supposed to be the second object?
d
Yes
f
Oddly then i get the error:
Copy code
failed with an unhandled exception:
    Error: It looks like you're using an explicit AWS provider. Please specify this provider in providerCredentialOpts.
Copy code
// Create an EKS cluster
    const cluster = new eks.Cluster("test", {
        vpcId: vpc.id,
        subnetIds: vpc.publicSubnetIds,
        instanceType: "t2.medium",
        desiredCapacity: 1,
        minSize: 1,
        maxSize: 2,
    }, { provider });
https://github.com/pulumi/pulumi-eks/blob/master/nodejs/eks/cluster.ts#L1707 which i guess happens if you pass it as the third arg
(Also thank you so much for your help! im new and have been banging on this all day)
d
https://www.pulumi.com/registry/packages/eks/api-docs/cluster/#providercredentialopts_nodejs I'm not that familiar with EKS auth, but hope you can work it out now you're unblocked
f
Ahh so its some sort of auth issue! Thank you!