Skip to content

Commit

Permalink
Fix CORS issue, value not set in Lambda ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred Snyder committed Apr 19, 2023
1 parent 069d30c commit 6713efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambdas/todos/Makefile
Expand Up @@ -101,7 +101,7 @@ lambda-update:
lambda-env:
aws lambda update-function-configuration \
--function-name "$(LAMBDA_FUNCTION_NAME)" \
--environment Variables={AIRTABLE_API_KEY="$(AIRTABLE_API_KEY)",AIRTABLE_BASE_ID="$(AIRTABLE_BASE_ID)",AIRTABLE_TABLE_NAME="$(AIRTABLE_TABLE_NAME)"}
--environment Variables={CORS_DOMAIN="$(CORS_DOMAIN)",AIRTABLE_API_KEY="$(AIRTABLE_API_KEY)",AIRTABLE_BASE_ID="$(AIRTABLE_BASE_ID)",AIRTABLE_TABLE_NAME="$(AIRTABLE_TABLE_NAME)"}

invoke:
aws lambda invoke --function-name "$(LAMBDA_FUNCTION_NAME)" output.json
Expand Down

0 comments on commit 6713efe

Please sign in to comment.