https://pulumi.com logo
b

better-umbrella-26052

07/07/2023, 9:43 PM
Wondering about an HTTP 404 response to
pulumi up
with GCP when trying to create a secret manager secret version. 🧵
$ pulumi version v3.74.0 $ pip list|select-string pulumi pulumi 3.69.0 pulumi-gcp 6.59.0 pulumi-google-native 0.31.0
code excerpts.py
pulumi up log:
...
gcpsecretmanagerSecretVersion (twingate_mdcm_gcp_version):
error: 1 error occurred:
* Error creating SecretVersion: googleapi: got HTTP response code 404 with body: <!DOCTYPE html>
...
<p>The requested URL <code>/v1/*<secret-name>*:addVersion?alt=json</code> was not found on this server. <ins>That’s all we know.</ins>
That URL seems strange to me.
e

echoing-dinner-19531

07/09/2023, 9:21 AM
Try changing
secret=secret.secret_id,
to
secret=secret.id,
b

better-umbrella-26052

07/10/2023, 2:00 PM
Ah, thanks, @echoing-dinner-19531!