Updated readme and config file
This commit is contained in:
parent
9b4d0c6ea3
commit
cc14c60736
2 changed files with 10 additions and 2 deletions
10
README.md
10
README.md
|
@ -1,8 +1,16 @@
|
||||||
# lambda-contact-form
|
# lambda-contact-form
|
||||||
|
|
||||||
A lambda function used as the endpoint for the contact form on my website.
|
A lambda function used as the endpoint for the contact form on my website.
|
||||||
|
|
||||||
Since moving my website from Wordpress to Gatsby.js I have been using FormSpree.io for my contact form.
|
Since moving my website from Wordpress to Gatsby.js I have been using FormSpree.io for my contact form.
|
||||||
|
|
||||||
However, I wanted to keep everything on my own domain and needed an excuse to play around with AWS Lambda.
|
However, I wanted to keep everything on my own domain and needed an excuse to play around with AWS Lambda.
|
||||||
|
|
||||||
This function is based off of my [lamda-dotnet-console](https://github.com/hyettdotme/lamda-dotnet-console) project.
|
This function is based off of my [lamda-dotnet-console](https://github.com/hyettdotme/lamda-dotnet-console) project.
|
||||||
|
|
||||||
|
## Deploying
|
||||||
|
|
||||||
|
```
|
||||||
|
cd src/ContactForm
|
||||||
|
dotnet lambda deploy-function
|
||||||
|
```
|
||||||
|
|
|
@ -15,5 +15,5 @@
|
||||||
"function-runtime": "dotnetcore2.1",
|
"function-runtime": "dotnetcore2.1",
|
||||||
"function-memory-size": 256,
|
"function-memory-size": 256,
|
||||||
"function-timeout": 30,
|
"function-timeout": 30,
|
||||||
"function-handler": "lambda-dotnet-console::ContactForm.Function::FunctionHandler"
|
"function-handler": "ContactForm::ContactForm.Function::FunctionHandler"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue