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

18 lines
261 B
Terraform
Raw Normal View History

2020-08-02 18:58:41 +08:00
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
}