From 2733fb47d57108750c741c55c7d03178ea885d05 Mon Sep 17 00:00:00 2001 From: Mike Carey <32496966+mike-carey@users.noreply.github.com> Date: Fri, 10 Jun 2022 14:46:35 -0500 Subject: [PATCH] Replaces extra `--s3-bucket` with `--s3-prefix` An additional `--s3-bucket` on the package command is redundant. There is no way to pass the s3 prefix to the package command. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e56c1dea..ab7b3c96 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ RELEASER = goreleaser PACKAGED_TEMPLATE = packaged.yaml STACK_NAME := $(STACK_NAME) S3_BUCKET := $(S3_BUCKET) +S3_PREFIX := $(S3_PREFIX) TEMPLATE = template.yaml APP_NAME ?= ssosync @@ -44,7 +45,7 @@ publish: .PHONY: package package: build - sam package --s3-bucket $(S3_BUCKET) --output-template-file $(PACKAGED_TEMPLATE) --s3-bucket $(S3_BUCKET) + sam package --s3-bucket $(S3_BUCKET) --output-template-file $(PACKAGED_TEMPLATE) --s3-prefix $(S3_PREFIX) .PHONY: deploy deploy: package