Skip to content

Commit f7b3b7f

Browse files
committed
secret manager should fetch from provided region
1 parent bb5c16b commit f7b3b7f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# - CIRCLECI_API_KEY
44
#
55

6-
AWS_ACCESS_KEY_ID := $(shell aws secretsmanager get-secret-value --secret-id=ci-user-aws-keys${randomSeed} | jq -r '.SecretString'| jq -r .access_key_id)
7-
AWS_SECRET_ACCESS_KEY := $(shell aws secretsmanager get-secret-value --secret-id=ci-user-aws-keys${randomSeed} | jq -r '.SecretString'| jq -r .secret_key)
6+
AWS_ACCESS_KEY_ID := $(shell aws secretsmanager get-secret-value --region ${region} --secret-id=ci-user-aws-keys${randomSeed} | jq -r '.SecretString'| jq -r .access_key_id)
7+
AWS_SECRET_ACCESS_KEY := $(shell aws secretsmanager get-secret-value --region ${region} --secret-id=ci-user-aws-keys${randomSeed} | jq -r '.SecretString'| jq -r .secret_key)
88
GITHUB_ORG := $(shell echo ${REPOSITORY} | cut -d "/" -f 2)
99
GITHUB_REPO := $(shell echo ${REPOSITORY} | cut -d "/" -f 3)
1010

0 commit comments

Comments
 (0)