Would you mind opening a GitHub ticket for either chef-metal or the driver
that you're using (whichever fits better, which in this case seems to be
the fog driver)? That way we can prioritize and keep better track of it .
It looks like a bug in the code, have you looked at that provider? It references iam_endpoint[0] but only default_iam_endpoint is defined in that method. If I’m reading it right, you can make it use the right endpoint by setting AWS_IAM_URL.
You should open an issue[1], ideally attempt fixing it yourself. The code is open source, you’re welcome to contribute something back.
Would attempt to fix it myself but I can honestly say that after 16 years
in the business, ruby is about the hardest language I've ever had to learn.
If it was in python or something I'd take a stab at it. Not rubishing
ruby.... ruby and I just don't get along.
It looks like a bug in the code, have you looked at that provider? It
references iam_endpoint[0] but only default_iam_endpoint is defined in that
method. If I’m reading it right, you can make it use the right endpoint by
setting AWS_IAM_URL.
You should open an issue[1], ideally attempt fixing it yourself. The code
is open source, you’re welcome to contribute something back.