https://github.com/jordipuigbou/step-functions-test
Project to play with AWS golang sdk for testing
https://github.com/jordipuigbou/step-functions-test
aws aws-dynamodb aws-iam aws-lambda aws-s3 aws-step-functions bdd-tests golang golium testing
Last synced: 5 months ago
JSON representation
Project to play with AWS golang sdk for testing
- Host: GitHub
- URL: https://github.com/jordipuigbou/step-functions-test
- Owner: jordipuigbou
- License: apache-2.0
- Created: 2022-05-18T10:43:05.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-29T10:41:19.000Z (almost 3 years ago)
- Last Synced: 2024-06-22T18:05:54.131Z (almost 2 years ago)
- Topics: aws, aws-dynamodb, aws-iam, aws-lambda, aws-s3, aws-step-functions, bdd-tests, golang, golium, testing
- Language: Go
- Homepage:
- Size: 68.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# AWS Step Functions Test Project
Project to interact with AWS services and test them using [golium](https://github.com/TelefonicaTC2Tech/golium#golium).
Services tested are:
- Step functions
- Lambda
- S3
- IAM
- Dynamo DB
## Requirements
* [Docker](https://www.docker.com/community-edition)
* [Golang](https://golang.org)
* [AWS CLI](https://aws.amazon.com/es/cli/)
* [SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html)
## Quick start
- Install all [requirements](#requirements)
- Install go dependencies
```bash
make install
make download-tools
```
- Launch aws local stack
```bash
docker-compose up
```
- Build aws stack with SAM template
```bash
make build
```
- Zip deployment
```bash
make zip-deployment
```
- Launch test
```bash
make test
```
## Other commands
- Validate SAM template
```bash
make validate-template
```
- Lint go code
```bash
make lint
```
- Clean zip Deployment
```bash
make clean-zip-deployment
```