Thank you for your interest in contributing! This document provides guidelines and instructions for contributing to this project.
If you find a bug, please open an issue with:
- Clear description of the problem
- Steps to reproduce
- Expected vs actual behavior
- Terraform version and AWS provider version
- Relevant error messages/logs
We welcome suggestions for improvements! Please open an issue with:
- Clear description of the enhancement
- Use case/benefit
- Proposed implementation (if applicable)
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes
- Test your changes: Ensure
terraform validateandterraform fmtpass - Update documentation: If adding features, update relevant docs
- Commit your changes: Use clear, descriptive commit messages
- Push to your fork:
git push origin feature/amazing-feature - Open a Pull Request: Provide a clear description of changes
- Use
terraform fmtto format code - Follow HashiCorp's Terraform style guide
- Use meaningful variable and resource names
- Add descriptions to all variables and outputs
- Use
for_eachovercountwhen possible - Keep modules focused and single-purpose
- Update README.md if adding features
- Add module-specific READMEs for new modules
- Include examples in documentation
- Keep architecture diagrams updated
Use clear, descriptive commit messages:
feat: Add WAF support for ALB
fix: Correct database subnet group configuration
docs: Update deployment instructions
refactor: Simplify ECS task definition
Before submitting a PR:
- Validate Terraform:
terraform validate - Format code:
terraform fmt -recursive - Check for sensitive data: Ensure no hardcoded credentials or IDs
- Test deployment: If possible, test in a dev AWS account
- Update examples: Ensure example files are current
- Code follows style guidelines
-
terraform fmthas been run -
terraform validatepasses - Documentation updated
- Example files updated (if applicable)
- No hardcoded values or sensitive data
- Commit messages are clear
We especially welcome contributions in:
- Security: Additional security best practices
- Cost Optimization: More cost-saving strategies
- Monitoring: Enhanced monitoring and alerting
- Multi-Region: Support for multi-region deployments
- Additional Services: Support for more AWS services
- Documentation: Improvements to guides and examples
- Testing: Automated testing and validation
- Open an issue for questions
- Check existing issues and discussions
- Review the documentation in README.md
Thank you for contributing! 🚀