Skip to content

Instantly share code, notes, and snippets.

@jschr
Last active April 13, 2017 00:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jschr/8fd54f10f46c42d4df65986fa001ab78 to your computer and use it in GitHub Desktop.
Save jschr/8fd54f10f46c42d4df65986fa001ab78 to your computer and use it in GitHub Desktop.
terraform infrastructure
/env-dev # dev environment, also contains terraform state files after deploying
dev.tf # dev environment terraform config
dev.tfvars # dev envrionment variables
/modules
/app # all of the infrastructure is created with a single app module
variables.tf # the app module's input variables
lambda.tf # the lambda function and required polices / permissions
cloudwatch.tf # a cloudwatch event to invoke the lambda function every 15 minutes
s3.tf # the s3 bucket for the static website
cloudfront.tf # the cloudfront distribution
route53.tf # the route 53 dns entries for the website
mailgun.tf # the mailgun domain and route 53 entries for sending and receiving email
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment