Hi, anyone that has a good example of how to get t...
# google-cloud
h
Hi, anyone that has a good example of how to get the url of a cloud run service as input to another resource? I just don't get it. Previously it was a simple
Copy code
pushEndpoint: myCloudRunService.status.url
But now there is a 'statuses' property instead. I've tried something like below but that doesn't work 😔
Copy code
pushEndpoint: myCloudRunService.statuses.get().pop()!.url

or

 pushEndpoint: myCloudRunService.statuses.apply( 
                statuses => {
                    let hostname = statuses.pop()!.url;
                    return hostname;
                })
Super grateful for any help on this one.
my bad, the stack was created before upgrading pulumi and gcp provider versions. Recreating the stack resolved the issue. 🙈
👍 1