Skip to content

CloudAceTW/s3_trigger_to_gcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S3 migrate to GCS

檢查 S3 Bucket 有新增檔案時觸發 lambda 將檔案同步到 GCS Bucket

Flow

Env

Setup

  1. 從 config.example.json 複製一份 config.json,並填入 S3 bucket 和 GCS bucket

    cp .chalice/config.example.json .chalice/config.json
    
  2. 將 GCS credentail 放入 /chalicelib/gcs_credential/service_account.json

  3. Install python package

    $ python --version
    > Python 3.7.7
    
    $ pip install -r requirements
    
  4. Deploy to AWS Lambda

    $ python -m chalice deploy
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages