Using an existing S3 bucket in AWS SAM template
Asked Answered
R

0

6

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 ?

Repay answered 28/4, 2020 at 7:27 Comment(3)
Not sure about sam, but since sam is based on cloudformation (CFN), maybe you could import it? CFN supports importing buckets into stacks.Elin
you can't use an existing bucket with sam. It's a limitation mention here. You can try the workaround from this comment.Hanzelin
In 2024, Just trying to understand it is still a restriction with SAM. If someone know an update, please helpEcosphere

© 2022 - 2024 — McMap. All rights reserved.