This message was deleted.
# general
s
This message was deleted.
b
the whole return value of createEksCluster is undefined, not just the kubeconfig
if you remove the try-catch you should see the error you get. as is you're just catching the error without logging it and implicitly returning undefined from the function
m
Makes sense. I can remove the
try catch
locally and still don't get any errors. CI, however, gets that error all the time
w
I'm not sure I understand what the goal of all the
async/await
here is. But indeed since you are catching the error and not returning anything in the
catch
clause - this function will return
undefined
if there is an error. You could rethrow it, or
console.log
it, to see what the error is? (or could just remove all the `async`/`await` here - which I don't think is actually doing anything?)
m
Thank you both for the responses. I'm pretty sure I found the issue.
🎉 1