Created by
Chafik Belhaoues

AWS REST API for DocumentDB

    AWS,REST API,DocDB,Document DB
    AWS REST API for DocumentDB
    ## Description This reference architecture allows you to create a REST API for your documentDB, using lambda functions to execute jobs interacting with your database. It accepts incoming traffic from internet through the internet gateway and route it to the subnets. **N.B:** - The Terraform code is automatically generated with best practices and contains variables that you can customize to fir your needs. - You have full control to change, add, delete resources or their configuration. The newly generated code will reflect these changes. - You can replace some resources with Terraform modules. > terraform apply status: successful ## Architecture components Here are all the components of this architecture: - VPC - Subnets - Internet gateway - Lambda function with their IAM role - DocumentDB cluster - Secret manager to handle secrets used to access the DB. ## Requirements | Name | Configuration | | --- | --- | | Terraform | all versions | | Provider | AWS | | Provider version | >= 5.52.0 | | Access | Admin access | ## How to use the architecture Clone the architecture and modify the following variables according to your needs: | Variable | Description | | --- | --- | | runtime | The runtime version of the Lambda function | | ext_runtime | The runtime version of the external Lambda function | | tags | Tags that are added to all resources | **N.B:** - Feel free to remove the resources that are not relevant to your use-case. - Some variables have default values, please change it if it doesn't fit your deployment. ## Maintainers You can reach out to these maintainers if you need help or assistance: - [Brainboard team](mailto:support@brainboard.co)

    It’s up to you now to build great things.