New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloud Run Service outputs are missing after creation #35
Comments
This is expected from the perspective of the Cloud Run API, which matches the Knative API spec. It is expected for clients to poll the resource and look for updates under |
I'm running into this problem, I expected that using the output value from I was hoping to use it like the tutorial here https://www.pulumi.com/blog/google-cloud-run-serverless-containers/ |
@ColeSiegelTR Do the outputs appear if you run |
@mikhailshilkov No, that whole
|
This is surprising. I've just run this example: https://github.com/pulumi/pulumi-google-native/blob/master/examples/cloudrun-ts/index.ts and got
Could you try this simple example? |
That is strange... even with that exact example I don't get the status back in the output with everything else. I can retrieve the status by API, so I don't think it's an access issue. Any suggestions? edit @mikhailshilkov I tested a bunch more, sometimes it shows the output URL but its very inconsistent. I think the state management might be messed up for this resource? One possible cause, I realized that often the service gets re-created simply because some auto-generated properties have changed - maybe because it's newly replaced it doesn't have a status anymore? In any case, I'm definitely not able to create a cloud run service and another resource which uses
|
In the mean time, I've been able to work-around this issue using the code below to fetch the service after it is created.
|
I believe this should be fixed in #411 (0.18.1). Please reopen if this issue persists. |
Hey! I'm getting the following error message when I try to
Perhaps the issue is related to this one? |
@vschettino-asimov I found this ticket as well after searching for a similar issue with a
|
The URL is missing in the outputs, and refresh sometimes brings changes: https://github.com/pulumi/pulumi-gcp-native/runs/2297186491?check_suite_focus=true#step:20:126
The text was updated successfully, but these errors were encountered: