From 84bdbf7590800798d543c814ee284810c2877c77 Mon Sep 17 00:00:00 2001 From: Manuel Luypaert Date: Wed, 30 Sep 2020 11:35:47 +0100 Subject: [PATCH] Minor Makefile improvement to export AW_EB_PROFILE variable passed on cmd-line to EB commands --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 5bb37057..1a97f157 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,9 @@ FQ_TAG := ${WB_ACC_NUM}.dkr.ecr.us-east-1.amazonaws.com/${ECR_REPO_NAME}:${VERSI # Set AWS (EB) profile env vars if undefined AWS_EB_PROFILE ?= ${AWS_PROFILE} AWS_PROFILE ?= ${AWS_EB_PROFILE} +ifneq (${AWS_EB_PROFILE},) + export AWS_EB_PROFILE +endif define target-help $1