Hi, I'm having a very weird error, I have a custom...
# aws
Hi, I'm having a very weird error, I have a custom pulumi component that call a sdk function to get the loadbalancer arn, and when it happens, I got this error: Error: connect EHOSTUNREACH at TCPConnectWrap.afterConnect [as oncomplete] (net.js113416) if I execute the same code outsite of the pulumi component it works, I read that could be something related with the aws credentials, but the rest of the code works well, any idea? it only happens when I use a custom function that use the aws sdk.
is the AWS metadata IP address, I suspect you haven't set up your credential chain properly and it's trying to use the AWS metadata credential chain
how are you loading your credentials?
I'm using SSO, but everything works well, less the function inside the component, I'm able to provision everything, but after to install a ingress controller with helm I need to get the lb arn, for that I need a custom function to get it
I've updated the aws-sdk library version and it started working, thanks