gcs-s3-sync:Google Cloud Function可将文件从GCS存储桶同步到S3存储桶

时间:2021-05-02 09:47:04
【文件属性】:
文件名称:gcs-s3-sync:Google Cloud Function可将文件从GCS存储桶同步到S3存储桶
文件大小:85KB
文件格式:ZIP
更新时间:2021-05-02 09:47:04
JavaScript 这是一个非常简单的Google Cloud Function,可将GCS存储桶与S3存储桶同步。 部署方式 该脚本使用如下所述的运行时配置: : 首先,您需要定义一些环境变量: # Name of your GCP project PROJECT=my-gcp-project # Name for the runtime config (this MUST match the bucket name) CONFIG_NAME=my-source-bucket # AWS region in which your S3 bucket was created S3_REGION=us-east-1 # Name of the S3 bucket S3_TARGET_BUCKET=my-target-bucket # Name for your Cloud Function CLOUD_
【文件预览】:
gcs-s3-sync-master
----index.js(2KB)
----package.json(529B)
----LICENSE(11KB)
----package-lock.json(302KB)
----.gcloudignore(513B)
----runtime-config.js(3KB)
----README.md(2KB)

网友评论