Skip to content

Commit

Permalink
Use variable
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonip committed Jan 31, 2025
1 parent 507af17 commit 884afc0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion testing/benchmark/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ APM_SERVER_IP = $(shell terraform output -raw apm_server_ip)
SHELL = /bin/bash
.SHELLFLAGS = -o pipefail -c

OKTA_AWS_CLI_PROFILE ?= elastic-observability

.default: all

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

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

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

0 comments on commit 884afc0

Please sign in to comment.