简体   繁体   中英

Using an existing S3 bucket in AWS SAM template

I am using AWS SAM template for deployment of python AWS lambdas. The trigger for these functions are from existing S3 buckets. But in SAM template I am unable to use existing buckets (only new bucket creation is supported), hence I'am creating the trigger manually.

Is there any way we could incorporate this in SAM template?

you can't use an existing bucket with sam. It's a limitation mention here . You can try the workaround from this comment .

Thx!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM