terraform-time-marker is a lightweight Terraform utility designed to generate unique runtime identifiers using time-based resources. This minimalist configuration provides a robust method for tracking Terraform executions without relying on cloud infrastructure.
- Zero Cloud Dependencies: No external cloud resources required
- Unique Identifier Generation: Creates distinct markers for each Terraform execution
- Time-Based Tracking: Leverages Terraform Time provider for precision
- Lightweight Configuration: Minimal setup with maximum utility
- Terraform 1.0+
- HashiCorp Time Provider
- Ensure Terraform is installed
- Add the Time provider configuration to your Terraform project
terraform initterraform applyThe configuration provides three unique outputs:
rotation_timestamp: A unique identifier that rotates every minuteexecution_moment: Precise timestamp of Terraform executionunique_signature: Combined identifier using rotation and static time
- Tracking Terraform execution instances
- Generating unique runtime markers
- Debugging and logging
- Forcing configuration refreshes without infrastructure changes
- No external API calls
- No infrastructure creation
- Pure time-based identifier generation
[Insert your preferred open-source license]
Contributions, issues, and feature requests are welcome! Please check the issues page.
This utility is perfect for scenarios requiring consistent, unique tracking of Terraform executions without the overhead of cloud-specific providers.