This message was deleted.
# general
s
This message was deleted.
l
Do you get a particular message when you interrupt the update? If you get use of closed network connection then it's probably that your temporary credentials have expired.
p
Nope, I don't. What the snippet shows is all that I get 😕
l
And if you undo the change does it work property?
p
I've just reverted the last 3 commits and something's actually changing ... but I don't understand why. Let me have a closer look ...
Apparently, this is causing the issue 🤔
l
What are those "%s"s?
Is that printf-style interpolation?
p
yep
lines 172-178 are the values
l
That's not going to work. You need to apply to get that Arn. That's a future value, it's not available at that time.
However, it shouldn't just hang, it should immediately resolve to an error message
Maybe the error message in that particular place is causing troubles with the AWS Role API.
It's a pretty big error message.
Also.. is golang really that icky? 🧌
p
Well, the funny thing is, I never got any kind of error message
l
The error message will be in the policy.
If you were to print it to console, you'd see it.
The "%s" on line 103 will be an error message, not an ARN.
p
Right. Well, I really didn't expect Pulumi just to hang... because of that I didn't really consider the changes being an issue. But now that you mention it it makes sense
Thanks for pointing that out. I'll find a way to fix it. I mean I can construct the ARN instead of fetching it from the creation object itself ... that should work
l
You can apply the ARN, and build the policy doc as a future value. Pulumi handles that fine.
👍🏻 1