Skip to content

Commit

Permalink
export AWS_PROFILE so that make recipes use the correct profile
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonip committed Feb 1, 2025
1 parent 884afc0 commit 79291ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/benchmark/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ APM_SERVER_IP = $(shell terraform output -raw apm_server_ip)
SHELL = /bin/bash
.SHELLFLAGS = -o pipefail -c

OKTA_AWS_CLI_PROFILE ?= elastic-observability
export AWS_PROFILE ?= elastic-observability

.default: all

Expand All @@ -49,7 +49,7 @@ include ${MAKEFILE_DIR}/../../go.mk

.PHONY: auth
auth:
@okta-aws-cli --profile $(OKTA_AWS_CLI_PROFILE) --write-aws-credentials
@okta-aws-cli --profile $(AWS_PROFILE) --write-aws-credentials

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

0 comments on commit 79291ca

Please sign in to comment.