uuid
Invicton-Labs/uuid/random
!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
| Name | Type | Description | Default |
|---|---|---|---|
| unix_interpreter | string | The interpreter to use when running commands on a Unix-based system. This is pri | "/bin/sh" |
unix_interpreter — The value of the `unix_interpreter` input variable, or the default value if the input was `null`.uuid — The generated UUID.