File tree Expand file tree Collapse file tree 5 files changed +5566
-2807
lines changed
Expand file tree Collapse file tree 5 files changed +5566
-2807
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ VPATH := $(OUT)
2121
2222# upload files to bootstrap bucket
2323# NOTE: files uploaded with public read permissions
24- upload : upload-templates upload-custom-resources-zip upload-src-zip upload-layers \
24+ upload : upload-templates upload-custom-resources-zip upload-src-zip \
2525 upload-response-card-image upload-initiate-chat-lambda upload-streaming-lambda upload-qbusiness-lambda
2626.PHONY : upload
2727
@@ -37,15 +37,8 @@ upload-templates: $(TEMPLATES) | $(OUT)
3737 aws s3 sync --acl public-read --exclude " *" --include " *.yaml" \
3838 " $( TEMPLATES_DIR) " " s3://$( BOOTSTRAP_BUCKET_PATH) /templates/" \
3939 | tee " $( OUT) /$( @) "
40- aws s3 cp " $( TEMPLATES_DIR) " /layers.zip \
41- " s3://${BOOTSTRAP_BUCKET_PATH} /layers.zip"
4240 @echo " [INFO] master template: https://s3.amazonaws.com/$( BOOTSTRAP_BUCKET_PATH) /templates/master.yaml"
4341
44- LAMBDA_LAYER_ZIP := $(TEMPLATES_DIR ) /layers.zip
45-
46- upload-layers :
47- @echo " [INFO] Uploading lambda layer"
48- aws s3 cp --acl public-read " $( LAMBDA_LAYER_ZIP) " " s3://${BOOTSTRAP_BUCKET_PATH} /layers.zip"
4942
5043# cfn custom resource lambda files are found under this directory
5144CUSTOM_RESOURCES_DIR := $(TEMPLATES_DIR ) /custom-resources
You can’t perform that action at this time.
0 commit comments