terraform.aws-baseline-infra/modules/util/random/main.tf
2021-01-29 16:21:17 +08:00

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
}