Skip to content

Commit a18816c

Browse files
authored
Fix local-run-controller Makefile target (#55)
Prune obsolete `aws-account-id` command line argument from `local-run-controller` Makefile target By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent d658882 commit a18816c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Makefile

-3
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,12 @@ GO_LDFLAGS=-ldflags "-X main.version=$(VERSION) \
1111
-X main.buildHash=$(GITCOMMIT) \
1212
-X main.buildDate=$(BUILDDATE)"
1313

14-
AUTHENTICATED_ACCOUNT_ID=$(shell aws sts get-caller-identity --output text --query "Account")
15-
1614
.PHONY: all test local-test
1715

1816
all: test
1917

2018
local-run-controller: ## Run a controller image locally for SERVICE
2119
@go run ./cmd/controller/main.go \
22-
--aws-account-id=$(AUTHENTICATED_ACCOUNT_ID) \
2320
--aws-region=us-west-2 \
2421
--enable-development-logging \
2522
--log-level=debug

0 commit comments

Comments
 (0)