This repository was archived by the owner on Mar 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 4949 " arn:aws:lambda:*:*:function:*" ,
5050 " arn:aws:lambda:*:*:layer:*"
5151 ]
52+ },
53+ {
54+ "Sid" : " VisualEditor4" ,
55+ "Effect" : " Allow" ,
56+ "Action" : [
57+ " s3:CreateBucket" ,
58+ " s3:ListBucket"
59+ ],
60+ "Resource" : " arn:aws:s3:::*"
5261 }
5362 ]
5463}
Original file line number Diff line number Diff line change @@ -181,8 +181,8 @@ invoke_lambda:
181181 aws lambda invoke --function-name $(LAMBDA_FUNCTION_NAME ) --profile $(AWS_PROFILE ) --payload " fileb://$( SWIFT_PROJECT_PATH) /event.json" $(LAMBDA_BUILD_PATH ) /outfile && echo " \nResult:" && cat $(LAMBDA_BUILD_PATH ) /outfile && echo " \n"
182182
183183create_s3_buckets_if_not_existing :
184- aws s3 ls " s3://$( AWS_BUCKET) " --summarize || aws s3 mb " s3://$( AWS_BUCKET) "
185- aws s3 ls " s3://$( AWS_LAYER_BUCKET) " --summarize || aws s3 mb " s3://$( AWS_LAYER_BUCKET) "
184+ aws s3 ls " s3://$( AWS_BUCKET) " || aws s3 mb " s3://$( AWS_BUCKET) "
185+ aws s3 ls " s3://$( AWS_LAYER_BUCKET) " || aws s3 mb " s3://$( AWS_LAYER_BUCKET) "
186186
187187# quick commands - no clean
188188quick_build_lambda : build_lambda create_build_directory
You can’t perform that action at this time.
0 commit comments