Skip to content

Commit

Permalink
Fix auth
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonip committed Jan 31, 2025
1 parent 0db3739 commit aada671
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion testing/benchmark/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,14 @@ MAKEFILE_DIR:=$(dir ${MAKEFILE_PATH})
REPO_ROOT:=$(abspath ${MAKEFILE_DIR}/../../)

include ${MAKEFILE_DIR}/../../go.mk
ifneq ("$(wildcard ${MAKEFILE_DIR}/.env)","")
include ${MAKEFILE_DIR}/.env
else
endif

.PHONY: auth
auth:
@$$(okta-aws-cli --profile elastic-observability) # this doesn't work
@okta-aws-cli --profile elastic-observability > ${MAKEFILE_DIR}/.env

terraform.tfvars:
@sed "s/USER/$(USER)/" $(TFVARS_SOURCE) > terraform.tfvars
Expand Down

0 comments on commit aada671

Please sign in to comment.