Hi, Struggling with outputs... :thread:
# azure
b
Hi, Struggling with outputs... 🧵
but then, when creating a database and trying to access
serverName
input, I get an error that says that it does not exist
ok i see this issue related https://github.com/pulumi/pulumi-azure-native/issues/574 but it is from 2020... wondering if I can contribute to fixing it. Is it a difficult fix?
b
Not got an answer to specific issue, but surely you have the serverName available already as you need it when constructing the database. Is there a specific reason you want to reference it as an output from the database resource itself?
b
I ended up doing this whenever I needed to access the inputs of a resource class: