This repository is a playground for serverless.tf approach, which aims to simplify all operations when working with the serverless in Terraform.
- Source code for Lambda Functions is in
src
folder. - All infrastructure configuration and deployment configurations is in
hashitalks2021
folder. - When code changes, and developer wants to "deploy it to prod", run
cd terraform && terraform init && terraform apply
. This will build deployment package, update resources, and deploy all to prod using AWS CodeDeploy.
$ http https://vdlsaentfnbvtaes7aduvzrwdm.appsync-api.eu-west-1.amazonaws.com/graphql x-api-key:da2-1enspdfpdvfvlk4efjqto4oks4 query='{ listPets { id name } }'
- Use Terragrunt for orchestration (deploy one by one or all together with respective dependencies)
- Group resources (eg, by layer (lambdas, for eg), environment, or region)
This repository managed by Anton Babenko. Check out serverless.tf to learn more about doing serverless with Terraform.
Please reach out to Betajob if you are looking for commercial support for your Terraform, AWS, or serverless project.
Apache 2 Licensed. See LICENSE for full details.