Terraform infrastructure as code for the Nwassik service marketplace platform.
- Aurora DSQL Cluster: PostgreSQL-compatible distributed database with IAM authentication
- Cognito User Pool: JWT-based user authentication and authorization
- Secrets Manager: Database connection credentials (admin and application roles)
terraform init
terraform workspace select <environment> # only: dev, staging, prod
terraform plan
terraform apply
terraform outputThe infrastructure exports connection details needed by the serverless backend:
- DSQL cluster endpoint and ARN
- Cognito user pool ID and app client ID
- Secrets Manager ARN for database credentials
- profile and terraform backend are harcoded, please edit them
- S3 bucket
fdebbabi-terraform-states-02for state storage fdebbabiprofile is used for aws API calls