- Create terraform IAM role and secrets for access to AWS
- Add variables AWS_ACCESS_KEY and AWS_SECRET_KEY to GitHub "Actions secrets and variables"
- Add MongoDB credentials to GitHub "Actions secrets and variables"
- Clone repository and run it with next commands:
- terraform init
- terraform plan
- terraform apply or you can use it with GitHub Actions pipelines