Skip to content

Commit

Permalink
refactor: tame sam
Browse files Browse the repository at this point in the history
  • Loading branch information
kaihendry committed Nov 27, 2023
1 parent 6eb7497 commit 977bfe1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
STACK = days
SAM_CLI_TELEMETRY=0
export SAM_CLI_TELEMETRY=0

.PHONY: build deploy validate destroy

Expand All @@ -8,7 +8,7 @@ ACMCERTIFICATEARN = arn:aws:acm:eu-west-2:407461997746:certificate/9083a66b-72b6

deploy:
sam build
SAM_CLI_TELEMETRY=0 sam deploy --resolve-s3 --stack-name $(STACK) --parameter-overrides DomainName=$(DOMAINNAME) ACMCertificateArn=$(ACMCERTIFICATEARN) --no-confirm-changeset --no-fail-on-empty-changeset --capabilities CAPABILITY_IAM --disable-rollback
sam deploy --resolve-s3 --stack-name $(STACK) --parameter-overrides DomainName=$(DOMAINNAME) ACMCertificateArn=$(ACMCERTIFICATEARN) --no-confirm-changeset --no-fail-on-empty-changeset --capabilities CAPABILITY_IAM --disable-rollback

build-MainFunction:
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o ${ARTIFACTS_DIR}/bootstrap
Expand Down
2 changes: 0 additions & 2 deletions template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ Parameters:
Type: String
ACMCertificateArn:
Type: String
Version:
Type: String

Resources:
# Create log group for Access logs
Expand Down

0 comments on commit 977bfe1

Please sign in to comment.