This message was deleted.
# golang
s
This message was deleted.
b
can you share the code you have?
s
I have this value being exported from an infrastructure stack:
Copy code
ctx.Export("numOfAZs", <http://pulumi.Int|pulumi.Int>(numOfAZs))
I'm then referencing it in another stack:
Copy code
numOfAZsOutput := ref.GetStringOutput(pulumi.String("numOfAZs"))
I would just like to get access to that value as an integer, so that I can use it to access arrays of subnet IDs and such. No matter what I try (using various
Apply
functions to the output, trying
reflect
, etc.), I can't just get to the numeric value stored in that variable.
I assume the silence means that there is no workaround? 😄
b
Hey sorry I missed this, I’ll try repro it this evening
actually I'll try follow up on this tomorrow @salmon-account-74572 - been a long day
s
Appreciate that, and sorry if I came across as pushy. Thank you for all your help!