Terraform module which deploys Redstone Gateway with required resources and configuration.
This module relies on 2 providers - AWS and MongoDb Atlas.
MongoDb Atlas API key must have Organization Project Creator
permission.
Used services:
- ECS Fargate for deploying Docker container with application
- MongoDb Atlas Cluster as database for application, connected with ECS using VPC Peering
- Application Load Balancer
- CloudFront for providing HTTPS endpoints without custom domain
- CloudWatch Logs for ECS container logs
- System Manager Parameter Store for securely storing MongoDb credentials and application api key
admin_routes_api_key
- API key for admin routes in gateway servicemongodbatlas_region
- MongoDB Atlas region e.g.: MongoDb Atlas AWS Regions. MongoDb Atlas region must correspond with AWS provider region e.g.EU_CENTRAL_1
andeu-central-1
api_url
- API urlmongodb_connection_string
- MongoDb connection string used in application