Random UUID random_uuid
The random_uuid resource allows the creation of random UUIDs.
Properties
- Name
value- Type
- (string: "")
- Required
- Readonly
- readonly
- Description
The generated random UUID.
Meta Properties
In addition to the main properties, all resources have meta properties, such
as the id of the resource. To see the list of these properties please see the
Meta Properties section in the documentation /docs/resources/meta.
Examples
resource "random_uuid" "uuid" {}
output "uuid" {
value = resource.random_uuid.uuid.value
}