Terraform random provider

Terraform provides that ability to create a random id, string, integer, pet etc. with the random provider.

Random String

resource "random_string" "resource_code" {
  length  = 8
  special = false
}
Random id
resource "random_id" "my_id" {
  byte_length = 8
}
Random Integer
resource "random_integer" "my_integer" {
  min = 1
  max = 100
}
Random password
resource "random_password" "my_password" {
  length  = 12
  special = true
}
Random pet
resource "random_pet" "my_name" {
  prefix = "Mr"
  separator = "."
  length = 2
}
Random UUID
resource "random_uuid" "my_uuid" { }
Random shuffle
This resource shuffles a list of inputs:
resource "random_shuffle" "my_numbers" {
  input = ["one", "two", "three", "four"]
}