Skip to content

Commit

Permalink
Replaces extra --s3-bucket with --s3-prefix
Browse files Browse the repository at this point in the history
An additional `--s3-bucket` on the  package command is redundant.  There is no way to pass the s3 prefix to the package command.
  • Loading branch information
mike-carey authored Jun 10, 2022
1 parent 496f55e commit 2733fb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2733fb4

Please sign in to comment.