The recipeX-aws-tf-infra
repository is designed to manage the AWS infrastructure for the RecipeX application using Terraform. It provides a collection of Terraform configurations to provision and manage AWS resources required by RecipeX, ensuring a consistent and reproducible infrastructure setup. It includes a GitHub Actions workflow for automating infrastructure changes.
- Modular Infrastructure: Organized into reusable modules for networking and clusters.
- Automation with GitHub Actions: Fully automated Terraform plan and apply workflow.
- Version Control: Infrastructure as Code (IaC) ensures repeatability and trackability.
- Secure Credential Management: Sensitive data like AWS credentials and PAT tokens are securely stored as GitHub Secrets.
Before you begin, ensure you have the following:
- Terraform: Version 1.0 or higher.
- AWS CLI: Configured with appropriate credentials.
- GitHub Secrets: Add the following secrets to your repository settings:
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
PAT_TOKEN
The repository includes a GitHub Actions workflow that manages Terraform infrastructure changes across the networking
and cluster
modules. Below is an overview of the workflow.
- Triggering: Manually trigger the workflow from the Actions tab and select
apply
as the action. - Plan Stage: Plans the Terraform changes for both networking and cluster modules.
- Apply Stage: Applies the planned changes, ensuring no unintended alterations.
- Artifact Management: Uploads and downloads Terraform plans between jobs to maintain consistency.
Contributions are welcome! To contribute:
- Fork the repository.
- Create a feature branch.
- Submit a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or support, please open an issue in this repository or contact the maintainers