Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antonbabenko/serverless.tf-playground
serverless.tf playground for examples and experiments
https://github.com/antonbabenko/serverless.tf-playground
aws-serverless serverless serverless-examples serverless-terraform terraform
Last synced: 4 months ago
JSON representation
serverless.tf playground for examples and experiments
- Host: GitHub
- URL: https://github.com/antonbabenko/serverless.tf-playground
- Owner: antonbabenko
- License: other
- Created: 2020-06-10T12:29:13.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-12T23:59:28.000Z (5 months ago)
- Last Synced: 2024-09-27T19:21:01.015Z (4 months ago)
- Topics: aws-serverless, serverless, serverless-examples, serverless-terraform, terraform
- Language: HCL
- Homepage: https://serverless.tf
- Size: 4.55 MB
- Stars: 38
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## serverless.tf playground to show it in action
This repository is a playground for [serverless.tf](https://github.com/antonbabenko/serverless.tf) approach, which aims to simplify all operations when working with the serverless in Terraform.
## Flow
1. Source code for Lambda Functions is in `src` folder.
1. All infrastructure configuration and deployment configurations is in `hashitalks2021` folder.
1. 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.## Useful commands
```
$ http https://vdlsaentfnbvtaes7aduvzrwdm.appsync-api.eu-west-1.amazonaws.com/graphql x-api-key:da2-1enspdfpdvfvlk4efjqto4oks4 query='{ listPets { id name } }'
```## To-do
1. Use Terragrunt for orchestration (deploy one by one or all together with respective dependencies)
1. Group resources (eg, by layer (lambdas, for eg), environment, or region)## Authors
This repository managed by [Anton Babenko](https://github.com/antonbabenko). Check out [serverless.tf](https://serverless.tf) to learn more about doing serverless with Terraform.
Please reach out to [Betajob](https://www.betajob.com/) if you are looking for commercial support for your Terraform, AWS, or serverless project.
## License
Apache 2 Licensed. See LICENSE for full details.