We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6ab801 commit 72964d7Copy full SHA for 72964d7
1 file changed
Makefile
@@ -18,8 +18,13 @@ IDENT ?= labkey
18
19
PULL_TAG ?= latest
20
21
-AWS_ACCOUNT_ID ?= $(shell aws sts get-caller-identity | jq -r '.Account' | grep -E '[0-9]{12}' || exit 1)
22
-AWS_REGION ?= $(shell aws configure get region || exit 1)
+ifeq ($(AWS_ACCESS_KEY_ID),)
+ AWS_ACCOUNT_ID=123456789
23
+ AWS_REGION=us-west-2
24
+else
25
+ AWS_ACCOUNT_ID ?= $(shell aws sts get-caller-identity | jq -r '.Account' | grep -E '[0-9]{12}' || exit 1)
26
+ AWS_REGION ?= $(shell aws configure get region || exit 1)
27
+endif
28
29
LABKEY_VERSION ?= 21.5-SNAPSHOT
30
LABKEY_DISTRIBUTION ?= community
0 commit comments