The random_id resource allows the creation of random IDs.
random_id
resource "random_id" "id" { byte_length = 4 } output "id_base64" { value = resource.random_id.meta.id.base64 } output "id_hex" { value = resource.random_id.meta.id.hex } output "id_dec" { value = resource.random_id.meta.id.dec }
Last updated 1 month ago