full-artist-27215
05/13/2021, 8:42 PMself.register_outputs({
"endpoint":
pulumi.Output.concat(
"redis://",
self.cluster.cache_nodes[0].address,
":",
str(self.cluster.cache_nodes[0].port)
)
})
but when I go to use it like this:
cache.endpoint
I end up with the following:
AttributeError: 'Cache' object has no attribute 'endpoint'
(this is all Python, BTW). Thanks in advance 🙇little-cartoon-10569
05/13/2021, 8:44 PMregister_outputs()
is used to register the property with Pulumi, as something that can be a stack output.full-artist-27215
05/13/2021, 8:45 PM