Skip to content

Commit 2d61041

Browse files
Add local_api_id on .local.env when run localstack lamdba and api gateway script
1 parent aecb488 commit 2d61041

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

data/scripts/start_local_api_gateway_and_lambda.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ ENDPOINT="${BASE_ENDPOINT}/restapis/${API_ID}/${STAGE}/_user_request_/items"
304304
# Save the endpoint to a local environment file
305305
echo "Saving the API endpoint to the local environment file..."
306306
echo "LOCAL_API_ENDPOINT=${ENDPOINT}" > .local.env
307+
echo "LOCAL_API_ID=${API_ID}" >> .local.env
307308
echo ${GENERIC_SUCCESS_LOG}
308309

309310
# Output the API endpoint

0 commit comments

Comments
 (0)