polite-student-92901
04/24/2020, 6:11 AMpulumi up
from my local for GCP project
Diagnostics:
gcp:storage:BucketObject (metadata-func-zip):
error: Error uploading object metadata-func-zip-7361f3c: Post <https://www.googleapis.com/upload/storage/v1/b/source-prod-0b3010d/o?alt=json&name=metadata-func-zip-7361f3c&prettyPrint=false&uploadType=resumable&upload_id=AAANsUlDMiMgbtovO9tV-WBAxeoUNUIpdnXUep2V6FZYkqd-vNiOKgVOz-rtsmUhHuxDPC9ggFzORAocsOGtyEet_lg>: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
The source code is:
const bucketObjectMetadata = new gcp.storage.BucketObject('metadata-func-zip', {
bucket: sourceBucket.name,
source: new pulumi.asset.AssetArchive({
'.': new pulumi.asset.FileArchive('../functions/metadata')
})
})
Anyone can help to resolve the error? Thanks.white-balloon-205
FileAsset
(small file)? Or is it only with that particular AssetArchive + FileArchive combo? Also - how large is the folder you are providing?polite-student-92901
04/24/2020, 6:34 PMFileAsset
to see if it works. Thanks for the advise,