https://pulumi.com logo
#getting-started
Title
# getting-started
s

straight-magician-37467

06/26/2021, 9:53 PM
I’m trying to muddle my way through one of the examples and when I get to step 5 of the second part (Deploy Cloud Run), there’s an error in index.ts
Copy code
Property 'status' does not exist on type 'Service'. Did you mean 'statuses'?
https://github.com/pulumi/examples/blob/master/gcp-ts-docker-gcr-cloudrun/cloud-run-deploy/index.ts#L61 I tried substituting
rubyService.status.url
with
rubyService.statuses[0].url
but Google was unhappy with the resulting URL. Any idea how I might fix this?
Changing it to
rubyService.statuses[0].url
actually fixed the issue. I had some other GCP config I had to straighten out as well which was compounding the issue.
4 Views