Skip to content

Commit fd32c49

Browse files
authored
Merge branch 'development' into dependabot/npm_and_yarn/lex-web-ui/image-size-1.2.1
2 parents 7f837ac + 117dd17 commit fd32c49

File tree

5 files changed

+5566
-2807
lines changed

5 files changed

+5566
-2807
lines changed

build/Makefile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff 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
5144
CUSTOM_RESOURCES_DIR := $(TEMPLATES_DIR)/custom-resources

0 commit comments

Comments
 (0)