Description:
Develop a Terraform module that sets up droplets for frontend and microservices for QA and production environments individually, triggered based on the CI/CD flow. Also, set up PostgreSQL in DigitalOcean. Ensure CI/CD is working as expected and add a script to destroy the infrastructure. Create a GitHub workflow which will be triggered manually only.
Acceptance Criteria:
Terraform module is created to set up droplets for frontend and microservices for QA and production.
PostgreSQL is set up in DigitalOcean.
CI/CD pipeline triggers infrastructure setup for QA and production environments.
A script is available to destroy the infrastructure.
A manual GitHub workflow is created to trigger the destroy script.
Further Details:
Ensure the Terraform configuration is modular and reusable.
Use environment variables for sensitive data and configuration settings.
Document the setup, destroy script, and workflow configuration.
Description: Develop a Terraform module that sets up droplets for frontend and microservices for QA and production environments individually, triggered based on the CI/CD flow. Also, set up PostgreSQL in DigitalOcean. Ensure CI/CD is working as expected and add a script to destroy the infrastructure. Create a GitHub workflow which will be triggered manually only.
Acceptance Criteria:
Further Details: