Skip to content

Commit 524134a

Browse files
committed
adding profile parameter when creating lambda service
1 parent 66ff4a7 commit 524134a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sspa

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ function create_lambda_service() {
236236
create_iam_role lambda_exec "file://conf/iam/policies/lambda_trust.json"
237237
local role_arn=$(support/jsed.py conf/iam/roles/learnjs_lambda_exec/info.json 'Role.Arn')
238238
if [[ ! -e ${service_dir}/info.json ]]; then
239-
aws lambda create-function \
239+
aws --profile $profile lambda create-function \
240240
--function-name ${function_name} \
241241
--role ${role_arn} \
242242
--zip-file "fileb://services/archive.zip" \

0 commit comments

Comments
 (0)