https://pulumi.com logo
Title
b

bland-florist-21412

05/27/2021, 12:58 AM
I'm trying to debug an error creating a GCP cloud function. The relevant output from
pulumi up --yes --logtostderr -v=9
is:
I0526 17:59:10.036118  643767 provider_plugin.go:695] Provider[gcp, 0xc0017ded80].Create(urn:pulumi:prod::deploy::gcp:cloudfunctions/function:Function::generateHighlight) executing (#props=13)
I0526 17:59:10.036168  643767 rpc.go:72] Marshaling property for RPC[Provider[gcp, 0xc0017ded80].Create(urn:pulumi:prod::deploy::gcp:cloudfunctions/function:Function::generateHighlight).inputs]: __defaults={[{ingressSettings} {maxInstances} {timeout}]}
I0526 17:59:10.036235  643767 rpc.go:72] Marshaling property for RPC[Provider[gcp, 0xc0017ded80].Create(urn:pulumi:prod::deploy::gcp:cloudfunctions/function:Function::generateHighlight).inputs]: availableMemoryMb={4000}
I0526 17:59:10.036276  643767 rpc.go:72] Marshaling property for RPC[Provider[gcp, 0xc0017ded80].Create(urn:pulumi:prod::deploy::gcp:cloudfunctions/function:Function::generateHighlight).inputs]: entryPoint={generateHighlight}
I0526 17:59:10.036300  643767 rpc.go:72] Marshaling property for RPC[Provider[gcp, 0xc0017ded80].Create(urn:pulumi:prod::deploy::gcp:cloudfunctions/function:Function::generateHighlight).inputs]: eventTrigger={map[__defaults:{[]} eventType:{providers/cloud.pubsub/eventTypes/topic.publish} resource:{projects/olivertesting7/topics/generate-highlight-event}]}
I0526 17:59:10.036366  643767 rpc.go:72] Marshaling property for RPC[Provider[gcp, 0xc0017ded80].Create(urn:pulumi:prod::deploy::gcp:cloudfunctions/function:Function::generateHighlight).inputs]: __defaults={[]}
I0526 17:59:10.036391  643767 rpc.go:72] Marshaling property for RPC[Provider[gcp, 0xc0017ded80].Create(urn:pulumi:prod::deploy::gcp:cloudfunctions/function:Function::generateHighlight).inputs]: eventType={providers/cloud.pubsub/eventTypes/topic.publish}
I0526 17:59:10.036410  643767 rpc.go:72] Marshaling property for RPC[Provider[gcp, 0xc0017ded80].Create(urn:pulumi:prod::deploy::gcp:cloudfunctions/function:Function::generateHighlight).inputs]: resource={projects/olivertesting7/topics/generate-highlight-event}
I0526 17:59:10.036471  643767 rpc.go:72] Marshaling property for RPC[Provider[gcp, 0xc0017ded80].Create(urn:pulumi:prod::deploy::gcp:cloudfunctions/function:Function::generateHighlight).inputs]: ingressSettings={ALLOW_ALL}
I0526 17:59:10.036493  643767 rpc.go:72] Marshaling property for RPC[Provider[gcp, 0xc0017ded80].Create(urn:pulumi:prod::deploy::gcp:cloudfunctions/function:Function::generateHighlight).inputs]: maxInstances={0}
I0526 17:59:10.036515  643767 rpc.go:72] Marshaling property for RPC[Provider[gcp, 0xc0017ded80].Create(urn:pulumi:prod::deploy::gcp:cloudfunctions/function:Function::generateHighlight).inputs]: name={generateHighlight}
I0526 17:59:10.036536  643767 rpc.go:72] Marshaling property for RPC[Provider[gcp, 0xc0017ded80].Create(urn:pulumi:prod::deploy::gcp:cloudfunctions/function:Function::generateHighlight).inputs]: project={olivertesting7}
I0526 17:59:10.036550  643767 rpc.go:72] Marshaling property for RPC[Provider[gcp, 0xc0017ded80].Create(urn:pulumi:prod::deploy::gcp:cloudfunctions/function:Function::generateHighlight).inputs]: region={us-central1}
I0526 17:59:10.036570  643767 rpc.go:72] Marshaling property for RPC[Provider[gcp, 0xc0017ded80].Create(urn:pulumi:prod::deploy::gcp:cloudfunctions/function:Function::generateHighlight).inputs]: runtime={nodejs12}
I0526 17:59:10.036589  643767 rpc.go:72] Marshaling property for RPC[Provider[gcp, 0xc0017ded80].Create(urn:pulumi:prod::deploy::gcp:cloudfunctions/function:Function::generateHighlight).inputs]: sourceArchiveBucket={companion-cloud-functions-prod}
I0526 17:59:10.036608  643767 rpc.go:72] Marshaling property for RPC[Provider[gcp, 0xc0017ded80].Create(urn:pulumi:prod::deploy::gcp:cloudfunctions/function:Function::generateHighlight).inputs]: sourceArchiveObject={generateHighlight-9465c8d}
I0526 17:59:10.036629  643767 rpc.go:72] Marshaling property for RPC[Provider[gcp, 0xc0017ded80].Create(urn:pulumi:prod::deploy::gcp:cloudfunctions/function:Function::generateHighlight).inputs]: timeout={60}
I0526 17:59:10.044856  643767 eventsink.go:59] Creating cloud function: projects/olivertesting7/locations/us-central1/functions/generateHighlight
I0526 17:59:10.044914  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>Creating cloud function: projects/olivertesting7/locations/us-central1/functions/generateHighlight<{%reset%}>)
I0526 17:59:10.046240  643767 eventsink.go:59] Waiting for state to become: [success]
I0526 17:59:10.046292  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>Waiting for state to become: [success]<{%reset%}>)
I0526 17:59:10.047382  643767 eventsink.go:59] Instantiating Google Cloud CloudFunctions Client for path <https://cloudfunctions.googleapis.com/>
I0526 17:59:10.047470  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>Instantiating Google Cloud CloudFunctions Client for path <https://cloudfunctions.googleapis.com/><{%reset%}>)
I0526 17:59:10.049297  643767 eventsink.go:59] Retry Transport: starting RoundTrip retry loop
I0526 17:59:10.049326  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>Retry Transport: starting RoundTrip retry loop<{%reset%}>)
I0526 17:59:10.050011  643767 eventsink.go:59] Retry Transport: request attempt 0
I0526 17:59:10.050037  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>Retry Transport: request attempt 0<{%reset%}>)
I0526 17:59:10.447234  643767 eventsink.go:59] Retry Transport: Stopping retries, last request failed with non-retryable error: googleapi: got HTTP response code 400 with body: HTTP/2.0 400 Bad Request
I0526 17:59:10.447275  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>Retry Transport: Stopping retries, last request failed with non-retryable error: googleapi: got HTTP response code 400 with body: HTTP/2.0 400 Bad Request<{%reset%}>)
I0526 17:59:10.447978  643767 eventsink.go:59] Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
I0526 17:59:10.448016  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"<{%reset%}>)
I0526 17:59:10.448709  643767 eventsink.go:59] Cache-Control: private
I0526 17:59:10.448757  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>Cache-Control: private<{%reset%}>)
I0526 17:59:10.449341  643767 eventsink.go:59] Content-Type: application/json; charset=UTF-8
I0526 17:59:10.449370  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>Content-Type: application/json; charset=UTF-8<{%reset%}>)
I0526 17:59:10.449960  643767 eventsink.go:59] Date: Thu, 27 May 2021 00:59:10 GMT
I0526 17:59:10.449999  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>Date: Thu, 27 May 2021 00:59:10 GMT<{%reset%}>)
I0526 17:59:10.450494  643767 eventsink.go:59] Server: ESF
I0526 17:59:10.450519  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>Server: ESF<{%reset%}>)
I0526 17:59:10.451018  643767 eventsink.go:59] Vary: Origin
I0526 17:59:10.451053  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>Vary: Origin<{%reset%}>)
I0526 17:59:10.451543  643767 eventsink.go:59] Vary: X-Origin
I0526 17:59:10.451577  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>Vary: X-Origin<{%reset%}>)
I0526 17:59:10.451979  643767 eventsink.go:59] Vary: Referer
I0526 17:59:10.451985  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>Vary: Referer<{%reset%}>)
I0526 17:59:10.452092  643767 eventsink.go:59] X-Content-Type-Options: nosniff
I0526 17:59:10.452098  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>X-Content-Type-Options: nosniff<{%reset%}>)
I0526 17:59:10.452223  643767 eventsink.go:59] X-Frame-Options: SAMEORIGIN
I0526 17:59:10.452230  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>X-Frame-Options: SAMEORIGIN<{%reset%}>)
I0526 17:59:10.452352  643767 eventsink.go:59] X-Xss-Protection: 0
I0526 17:59:10.452360  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>X-Xss-Protection: 0<{%reset%}>)
I0526 17:59:10.452489  643767 eventsink.go:59] 
I0526 17:59:10.452496  643767 eventsink.go:62] eventSink::Debug(<{%reset%}><{%reset%}>)
I0526 17:59:10.452631  643767 eventsink.go:59] {
I0526 17:59:10.452639  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>{<{%reset%}>)
I0526 17:59:10.452794  643767 eventsink.go:59]   "error": {
I0526 17:59:10.452802  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>  "error": {<{%reset%}>)
I0526 17:59:10.453001  643767 eventsink.go:59]     "code": 400,
I0526 17:59:10.453009  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>    "code": 400,<{%reset%}>)
I0526 17:59:10.453158  643767 eventsink.go:59]     "message": "The request has errors",
I0526 17:59:10.453168  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>    "message": "The request has errors",<{%reset%}>)
I0526 17:59:10.453285  643767 eventsink.go:59]     "errors": [
I0526 17:59:10.453293  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>    "errors": [<{%reset%}>)
I0526 17:59:10.453423  643767 eventsink.go:59]       {
I0526 17:59:10.453430  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>      {<{%reset%}>)
I0526 17:59:10.453566  643767 eventsink.go:59]         "message": "The request has errors",
I0526 17:59:10.453575  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>        "message": "The request has errors",<{%reset%}>)
I0526 17:59:10.453708  643767 eventsink.go:59]         "domain": "global",
I0526 17:59:10.453715  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>        "domain": "global",<{%reset%}>)
I0526 17:59:10.453865  643767 eventsink.go:59]         "reason": "badRequest"
I0526 17:59:10.453873  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>        "reason": "badRequest"<{%reset%}>)
I0526 17:59:10.454043  643767 eventsink.go:59]       }
I0526 17:59:10.454052  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>      }<{%reset%}>)
I0526 17:59:10.454180  643767 eventsink.go:59]     ],
I0526 17:59:10.454187  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>    ],<{%reset%}>)
I0526 17:59:10.454309  643767 eventsink.go:59]     "status": "INVALID_ARGUMENT"
I0526 17:59:10.454318  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>    "status": "INVALID_ARGUMENT"<{%reset%}>)
I0526 17:59:10.454464  643767 eventsink.go:59]   }
I0526 17:59:10.454473  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>  }<{%reset%}>)
I0526 17:59:10.454597  643767 eventsink.go:59] }
I0526 17:59:10.454604  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>}<{%reset%}>)
I0526 17:59:10.454744  643767 eventsink.go:59] Retry Transport: Returning after 1 attempts
I0526 17:59:10.454754  643767 eventsink.go:62] eventSink::Debug(<{%reset%}>Retry Transport: Returning after 1 attempts<{%reset%}>)
I0526 17:59:10.455025  643767 provider_plugin.go:1391] provider received rpc error `Unknown`: `1 error occurred: