hallowed-cat-56281
11/05/2020, 1:10 PM<http://gcr.io/cloudrun/hello|gcr.io/cloudrun/hello>
) if the service doesn’t exist, or the actual GCR image otherwise).
3. Trigger the pipeline manually so that the GCR image is generated.
4. When running pulumi up
later on, I obviously don’t want to override the last revision of the service with the dummy image if the service is already created and using the proper image.
The solutions I was thiking of are the following:
1. Checking if the service already exists with GetService
-> the issue is that it’s requiring an ID, so I can’t get the service until it’s created.
2. Using an input variable to differentiate the first time I run `pulumi up`` from the later “updates” -> I used this solution with Terraform but I find it a bit dangerous and error-prone.
Any idea what the best way to do something like this would be?
Thanks