The google-native plugin for `cloudbuild.v1.Build(...
# google-cloud
d
The google-native plugin for
cloudbuild.v1.Build()
fails because the provider is base64 encoding a UUID string:
Copy code
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.
-->
Copy code
> 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>
Although when I changed that I got another error:
Copy code
polling operation status: googleapi: Error 404: Requested entity was not found.
But the Pulumi resource was created (and couldn't be updated):
Copy code
~   ├─ 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 (!!!)
Oh, polling fails because it's also using the base64 encoded UUID string:
Copy code
polling operation status (URL=<https://cloudbuild.googleapis.com/v1/operations/build/production/N2QwYTU2ZjItYzlhOC00MGRiLTgzYzQtZDJjZWE2YzE4N2Yz>): googleapi: Error 404: Requested entity was not found.
b
please file a github issue
d
There seems to be no equivalent functionality in GCP Classic.
Let me know if I can help resolve this by putting you in touch with GCP.