Thank you for your interest in contributing! This document provides guidelines for contributing to the project.
- Fork the repository
- Clone your fork:
git clone https://github.com/ferdinandobons/terraformgraph.git - Create a virtual environment:
python -m venv venv && source venv/bin/activate - Install dev dependencies:
pip install -e ".[dev]" - Create a branch:
git checkout -b feature/your-feature
pytest tests/ -vWe use black for formatting and ruff for linting:
black terraformgraph/
ruff check terraformgraph/- Add the resource mapping to
config/aggregation_rules.yaml - Add icon mapping to
terraformgraph/icons.pyinTERRAFORM_TO_ICON - Add any new connections to
config/logical_connections.yaml - Add tests for the new resource type
- Ensure all tests pass
- Update documentation if needed
- Add a clear description of changes
- Reference any related issues
Be respectful and constructive. We're all here to build something useful together.
Open an issue with your question and we'll help out!