-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow to deploy lambda func locally (#96)
- Loading branch information
1 parent
27c4a71
commit c6e7d87
Showing
6 changed files
with
44 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
TF_VAR_MAINTAINER_MAIL="${aws-ssm(region=eu-central-1):/mtchoun-mouh/maintainer_mail}" | ||
TF_VAR_WEBSITE_BUCKET_NAME="mtchoun-mouh" | ||
TF_VAR_IMAGES_BUCKET_NAME="djansang2" | ||
TF_VAR_SENTRY_DNS="${aws-ssm(region=eu-central-1):/mtchoun-mouh/sentry_dsn}" | ||
TF_VAR_API_KEY="${aws-ssm(region=eu-central-1):/mtchoun-mouh/zulip_api_key}" | ||
#source api/venv/bin/activate | ||
# export TF_LOG="DEBUG" | ||
GITHUB_HEAD_REF=develop | ||
GITHUB_REF_NAME=test-branch | ||
export REGION="eu-central-1" | ||
API_KEY="${aws-ssm(region=eu-central-1):/mtchoun-mouh/zulip_api_key}" | ||
BUCKET_NAME="${BRANCH_NAME}-djansang" | ||
ENV="local" | ||
LINKS_TABLE="mtchoun-mouh-${BRANCH_NAME}-Link_table" | ||
MAINTAINER_MAIL="${aws-ssm(region=eu-central-1):/mtchoun-mouh/maintainer_mail}" | ||
REGION="eu-central-1" | ||
REGISTERS_TABLE="mtchoun-mouh-${BRANCH_NAME}-Register" | ||
SENTRY_DNS="${aws-ssm(region=eu-central-1):/mtchoun-mouh/sentry_dsn}" | ||
USERS_TABLE="mtchoun-mouh-${BRANCH_NAME}-Users" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
region: eu-central-1 | ||
|
||
function_name: my_lambda_function | ||
handler: lambda.register_handler | ||
runtime: python3.8 | ||
# role: lambda_basic_execution |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
region: eu-central-1 | ||
|
||
function_name: my_lambda_function | ||
handler: lambda.scan_handler | ||
runtime: python3.8 | ||
# role: lambda_basic_execution |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ requests==2.31.0 | |
soupsieve==2.0.1 | ||
zulip==0.8.2 | ||
sentry-sdk==1.14.0 | ||
python-lambda==11.8.0 |