This message was deleted.
# kubernetes
s
This message was deleted.
👀 1
b
You can’t depends on an output of a resource, you can only depend on the resource itself. It looks like you’re trying to set a variable to the value of a property and depend on that
t
you need to make an
Input
of
something_else()
use an
Output
of
app_hostname
… if it’s not a direct attribute/`Output` then use
.apply()
something like:
Copy code
something_else(
    ip_addrs = [
        app_hostname.status.apply(lambda x: x.load_balancer.ingress[0].hostname),
    ],
)
the
depends_on
will be inferred by pulumi b/c of the
Output
to
Input
relationship