All notable changes to tf-safe will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Backup Tagging & Search: Categorize backups with key-value tags and search/filter them efficiently.
- State Diff/Comparison: Compare any two state backups or current state to detect changes and drift.
- Drift Detection: New
drift-detectcommand to identify configuration drift in production. - Webhook Notifications: Real-time alerts via Slack, Email, and generic Webhooks for backup/restore events and drift detection.
- Audit Logging: Comprehensive file-based audit logging for all critical operations with
audit-logCLI viewer. - New CLI Commands:
diff,drift-detect,audit-log. - Enhanced CLI: Added
--tags,--search,--latestflags to existing commands.
- Initial stable release of tf-safe
- Automated Terraform state backup functionality
- Local filesystem storage backend
- AWS S3 remote storage backend
- AES-256-GCM encryption support
- AWS KMS encryption support
- Terraform command wrappers (apply, plan, destroy)
- Manual backup and restore commands
- Configurable retention policies
- Cross-platform support (Linux, macOS, Windows)
- Comprehensive configuration system
- CLI with Cobra framework
- Integration tests
- Comprehensive documentation
- Example configurations and workflows
- CI/CD pipeline examples (GitHub Actions, GitLab CI, Azure DevOps)
- Package distribution (Homebrew, Chocolatey, DEB)
- Encryption at rest for all backups
- Secure key management
- Checksum verification for backup integrity
When creating a new release, use this template:
## [X.Y.Z] - YYYY-MM-DD
### Added
- New features
### Changed
- Changes in existing functionality
### Deprecated
- Soon-to-be removed features
### Removed
- Now removed features
### Fixed
- Bug fixes
### Security
- Security improvements- Added for new features
- Changed for changes in existing functionality
- Deprecated for soon-to-be removed features
- Removed for now removed features
- Fixed for any bug fixes
- Security for security improvements