Skip to content

Repository files navigation

Serverless Webapp

For Terraform "~> 0.11"

Please note that creating the certificates can take anywhere from a few minutes to 45 minutes. The wait is determined by how fast AWS approves the certificates. If install fails after 45 minutes due to one or more certificates, simply run the apply step again.

Please also note, the the step that creates the CloudFront distribution will usually take between 30 and 60 minutes. Be patient.

Inputs

Name Description Type Default Required
back_end_name The subdomain name used for the back-end string "api" no
deploy_website If true, the contents of '${lambda_source_dir}' are copied to the front-end bucket after creation string "true" no
front_end_name The subdomain name used for the front-end string "www" no
frontend_source_dir The absolute path of a folder containing the (transpiled/bundled) front-end string n/a yes
lambda_handler The Lambda entry point string "lambda.handler" no
lambda_runtime The Lambda runtime string "nodejs10.x" no
lambda_source_dir The absolute path of a folder containing the (compiled/transpiled) back-end string n/a yes
zone_name The top level domain that will host the subdomains used for the front- and back-end string n/a yes

About

Deploy a serverless webapp with a static HTML front-end and a Lambda back-end.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages