forked from rberecka/random_pet_generator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.tf
46 lines (35 loc) · 741 Bytes
/
main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
terraform {
required_providers {
random = {
source = "hashicorp/random"
version = "3.1.2"
}
}
}
provider "random" {
# Configuration options
}
resource "random_pet" "pet" {
length = var.word-count
}
resource "random_string" "random_word" {
length = var.word-length
}
resource "random_string" "random_word_2" {
length = 11
}
resource "random_string" "random_word_3" {
length = 11
}
resource "random_string" "random_word_4" {
length = 11
}
resource "random_string" "random_word_5" {
length = 11
}
resource "random_string" "random_word_6" {
length = 11
}
resource "random_string" "random_word_7" {
length = 11
}