https://github.com/edsoncelio/terratest-localstack
https://github.com/edsoncelio/terratest-localstack
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/edsoncelio/terratest-localstack
- Owner: edsoncelio
- Created: 2021-03-15T12:21:40.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-01T00:36:34.000Z (about 5 years ago)
- Last Synced: 2025-03-24T12:21:33.070Z (about 1 year ago)
- Language: Go
- Size: 62.5 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Terratest with localstack

> Work in Progress
## Prerequisites
* Go 1.15+
* Terraform v0.13+
## How it works
This repo will create a s3 bucket and test using the following technologies:
* Terraform: to create the resources
* Terratest: to write the tests
* Localstack: to mock the AWS resources
## Tests
> Warning: to run the tests locally, you need to setup [localstack](https://github.com/localstack/localstack)
To run the tests locally:
1. `cd tests`
2. `go test -v -timeout 30m`
This will create, test and destroy all the resources.
## TODO
- [x] Finish the action to set up localstack and test
- [ ] Add more tests
- [ ] Remove hardcored aws region test