I want to create a resource class for my self that...
# general
l
I want to create a resource class for my self that hold the postgres.Database object, here is my code,
Copy code
<https://gist.github.com/atazangene/9f25f4ed73c26a9ed67a7d14f884b852>
however it is not working as I got this. how can I make this
b
it’s not really clear what you’re doing here or what you’re trying to do
l
in summery, I want to use the pulumi.output<postgres.Database> with empty value and set the value later
I mean I want to have an object that hold database object, but as it is not ready at start of application, I want to make it empty, and later when the database object created, I set the object. later, when I want to do some action against the database. I will have reference to database object and the resources wait until the database is created before ( like other resources that getting the value as input)