S3 bucket in aws-lambda-tools-defaults.json #1645
-
Hello Community, I'm currently working with AWS Application (many lambdas in one project) using the AWS Toolkit for Visual Studio and have encountered a situation with my deployment process. I have a configuration set up in the aws-lambda-tools-defaults.json file, specifically referencing an S3 bucket in the s3-bucket field. Recently, I deleted this S3 bucket ,it was empty, and am now considering recreating it with the same name. My concerns and questions are as follows: Thank you in advance for your help and suggestions. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@bmanola Good morning. The Lambda function deployment process uses S3 bucket (if provided) to upload the ZIP file package containing Lambda code to the S3 bucket (else it uses MemoeryStream BLOB). The uploaded object key (this is autogenerated based on Thanks, |
Beta Was this translation helpful? Give feedback.
@bmanola Good morning. The Lambda function deployment process uses S3 bucket (if provided) to upload the ZIP file package containing Lambda code to the S3 bucket (else it uses MemoeryStream BLOB). The uploaded object key (this is autogenerated based on
-sp
parameter) is used in CreateFunction request object, to point to the ZIP file in S3 bucket as function code. Once deployed, you could safely delete S3 bucket without any side-effects.Thanks,
Ashish