delightful-monkey-90700
02/23/2023, 9:38 PMcloudbuild.v1.Build()
fails because the provider is base64 encoding a UUID string:
error: waiting for completion / read state googleapi: Error 404: Requested entity was not found. (URL=<https://cloudbuild.googleapis.com/v1/projects/production/locations/us-west2/builds/NTBhNjY5MjMtZTJmYy00YTE0LWI5ZjQtNmEwZWVkNGIwMWIw>): polling operation status: googleapi: Error 404: Requested entity was not found.
-->
> echo 'NTBhNjY5MjMtZTJmYy00YTE0LWI5ZjQtNmEwZWVkNGIwMWIw' | base64 -d
50a66923-e2fc-4a14-b9f4-6a0eed4b01b0
-->
The real URL should have been <https://cloudbuild.googleapis.com/v1/projects/production/locations/us-west2/builds/50a66923-e2fc-4a14-b9f4-6a0eed4b01b0>
polling operation status: googleapi: Error 404: Requested entity was not found.
But the Pulumi resource was created (and couldn't be updated):
~ ├─ google-native:cloudbuild/v1:Build prod-auth-server-image updated (0.01s) 1 warning
~ └─ google-native:cloudbuild/v1:Build prod-bastion-image updated (0.03s) 1 warning
Diagnostics:
google-native:cloudbuild/v1:Build (prod-bastion-image):
warning: update is currently undefined for resource: "google-native:cloudbuild/v1:Build". v1/projects/production/locations/us-west2/builds/c9bce8dd-5065-403b-8904-511dfc9e75ad will not be updated
google-native:cloudbuild/v1:Build (prod-auth-server-image):
warning: update is currently undefined for resource: "google-native:cloudbuild/v1:Build". v1/projects/production/locations/us-west2/builds/a89d2819-2ace-4008-8efc-72db2186a7c4 will not be updated
Overall, the correct change is hard to find because there's a lot of generated code checked into the source repository (!!!)polling operation status (URL=<https://cloudbuild.googleapis.com/v1/operations/build/production/N2QwYTU2ZjItYzlhOC00MGRiLTgzYzQtZDJjZWE2YzE4N2Yz>): googleapi: Error 404: Requested entity was not found.
billowy-army-68599
02/23/2023, 10:44 PMdelightful-monkey-90700
02/23/2023, 10:46 PM