Created
June 11, 2018 15:49
-
-
Save JavyMB/f5d89312b59614481dfe473341464fe2 to your computer and use it in GitHub Desktop.
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
service: fbWebhook | |
provider: | |
name: aws | |
runtime: python3.6 | |
functions: | |
fbwebhook: | |
handler: handler.webhook | |
environmentVariables: | |
VERIFY_TOKEN: '123456789012349001234123123123' | |
vpc: | |
securityGroupIds: | |
- sg-2cf5ad59 | |
- sg-89e673ed | |
subnetIds: | |
- subnet-62ddba4d | |
events: | |
- http: | |
path: webhook | |
method: get | |
integration: lambda | |
response: | |
headers: | |
Content-Type: "'text/html'" | |
template: $input.path('$.body') | |
- http: | |
path: webhook | |
method: post | |
integration: lambda | |
package: | |
exclude: | |
- venv/** # virtualenv | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment