This message was deleted.
# golang
s
This message was deleted.
i
Sounds like something you could achieve using
Apply
https://www.pulumi.com/docs/intro/concepts/programming-model/#apply
m
Thanks for the nudge. Didn't think about Apply in this case, maybe I was looking for a different solution, but I guess it might work.
i
I think otherwise you’d need a dynamic provider, but that’s not yet supported for Go https://www.pulumi.com/docs/intro/concepts/programming-model/#dynamicproviders
m
Indeed using
pulumi.All(resource.attribute).ApplyT()
and inside the
ApplyT
writing it to a file works like a charm.
🎉 1
i
That’s great!