From 0fe51657b0c057ec58e98263b4a8063261392ad5 Mon Sep 17 00:00:00 2001 From: Will Mooreston Date: Thu, 8 Jan 2026 16:30:17 -0800 Subject: [PATCH] only force default aws account/region env vars if not already set --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 108ac17..ebb9823 100644 --- a/Makefile +++ b/Makefile @@ -19,8 +19,8 @@ IDENT ?= labkey PULL_TAG ?= latest ifeq ($(AWS_ACCESS_KEY_ID),) - AWS_ACCOUNT_ID=123456789 - AWS_REGION=us-west-2 + AWS_ACCOUNT_ID ?= 123456789 + AWS_REGION ?= us-west-2 else AWS_ACCOUNT_ID ?= $(shell aws sts get-caller-identity | jq -r '.Account' | grep -E '[0-9]{12}' || exit 1) AWS_REGION ?= $(shell aws configure get region || exit 1)