Skip to content

Terraform configuration that creates distinct execution markers through time-based resource generation.

License

Notifications You must be signed in to change notification settings

TerraformTestLab/terraform-time-marker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕰️ Terraform Time Marker 🚀

📝 Overview

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.

🌟 Key Features

  • 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

🔧 Prerequisites

  • Terraform 1.0+
  • HashiCorp Time Provider

💻 Installation

  1. Ensure Terraform is installed
  2. Add the Time provider configuration to your Terraform project

🚀 Usage

Initialize the Configuration

terraform init

Apply and Generate Unique Identifiers

terraform apply

🧩 Outputs

The configuration provides three unique outputs:

  • rotation_timestamp: A unique identifier that rotates every minute
  • execution_moment: Precise timestamp of Terraform execution
  • unique_signature: Combined identifier using rotation and static time

🎯 Use Cases

  • Tracking Terraform execution instances
  • Generating unique runtime markers
  • Debugging and logging
  • Forcing configuration refreshes without infrastructure changes

🛡️ Security Considerations

  • No external API calls
  • No infrastructure creation
  • Pure time-based identifier generation

📄 License

[Insert your preferred open-source license]

🤝 Contributing

Contributions, issues, and feature requests are welcome! Please check the issues page.

💡 Pro Tip

This utility is perfect for scenarios requiring consistent, unique tracking of Terraform executions without the overhead of cloud-specific providers.

About

Terraform configuration that creates distinct execution markers through time-based resource generation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages