code-dumps/tf-modulised/vpc-subnets/random/main.tf

18 lines
261 B
HCL

resource "random_string" "string" {
length = 4
special = false
}
resource "random_integer" "number" {
min = 1000
max = 9999
}
output "string" {
value = random_string.string.result
}
output "number" {
value = random_integer.number.result
}