Skip to content

Commit

Permalink
Fixed EB CLI base command AWS profile definition
Browse files Browse the repository at this point in the history
  • Loading branch information
mluypaert committed Jan 31, 2024
1 parent 5c4f412 commit af00ab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ECR_IMAGE_URI = ${ECR_REPO_URI}:${VERSION_TAG}
AWS_CLI_BASE := aws
EB_CLI_BASE := eb
ifneq (${AWS_EB_PROFILE},)
EB_CLI_BASE := ${EB_CLI_BASE} --profile ${AWS_EB_PROFILE}
EB_CLI_BASE := export AWS_EB_PROFILE=${AWS_EB_PROFILE} && ${EB_CLI_BASE}
ifeq (${AWS_PROFILE},)
AWS_CLI_BASE := ${AWS_CLI_BASE} --profile ${AWS_EB_PROFILE}
endif
Expand All @@ -42,7 +42,7 @@ endif
ifneq (${AWS_PROFILE},)
AWS_CLI_BASE := ${AWS_CLI_BASE} --profile ${AWS_PROFILE}
ifeq (${AWS_EB_PROFILE},)
EB_CLI_BASE := ${EB_CLI_BASE} --profile ${AWS_PROFILE}
EB_CLI_BASE := export AWS_EB_PROFILE=${AWS_PROFILE} && ${EB_CLI_BASE}
endif
endif

Expand Down

0 comments on commit af00ab3

Please sign in to comment.