uuid

Invicton-Labs/uuid/random

Terraform Module HCL RANDOM ⏱ stale 3y 8mo

Install

module "uuid" {
source = "Invicton-Labs/uuid/random"
version = "0.2.0"
}
⭐ Source on GitHub 📦 Registry page

README

!Build Terraform UUID On the Terraform Registry: Invicton-Labs/uuid/random This module functions similarly to the uuid() function, except that it produces a UUID value during the plan step which remains consistent through to the apply step. On Windows, it will use PowerShell's built-in [guid]::NewGuid() function. On Unix, it will use the first of the following methods that is available: - uuidgen (if it's installed) - cat /proc/sys/kernel/random/uuid (most Linux systems) - cat /compat/linux/proc/sys/kernel/random/uuid (FreeBSD) - /dev/urandom (other Unix-based systems, e.g. MacOS) - /dev/random (other Unix-based systems, e.g. MacOS) Regardless of the method that it uses, it guarantees that the output always matches the expected UUID format with hyphens. Usage `` module "uuid" { source = "I

Inputs (1)

NameTypeDescriptionDefault
unix_interpreterstringThe interpreter to use when running commands on a Unix-based system. This is pri"/bin/sh"

Outputs (2)

unix_interpreter — The value of the `unix_interpreter` input variable, or the default value if the input was `null`.
uuid — The generated UUID.

Details

FrameworkTerraform Module
LanguageHCL
Version0.2.0
Cloud RANDOM
Total downloads116.4k
Inputs1
Outputs2
NamespaceInvicton-Labs
Updated