-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariable.tf
85 lines (69 loc) · 1.5 KB
/
variable.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
variable "vpc_num" {
default = 2
description = " numuber of vpc in same region"
type = number
}
variable "region_num" {
default = 2
description = " numuber of region"
type = number
}
variable "vpc-cidr" {
default = "10.0.0.0/16"
description = "vpc cidr block"
type = string
}
variable "availability_zones" {
default = ["us-west-2a", "us-west-2b", "us-west-2c"]
description = "vpc cidr block"
type = list(any)
}
variable "vpc-tag" {
default = ["us-west-2a", "us-west-2b", "us-west-2c"]
description = "vpc cidr block"
type = list(any)
}
variable "vpc_name" {
default = "my_vpc"
description = "vpc name"
type = string
}
variable "public_subnets_num" {
default = 3
description = "public subnets num"
type = number
}
variable "private_subnets_num" {
default = 3
description = "private subnets num"
type = number
}
variable "profile" {
type = string
description = "profile"
}
variable "region" {
default = "us-west-2"
description = "region name"
type = string
}
variable "ami_id" {
default = "ami-04e61c2967631a8e3"
description = "id of ami"
type = string
}
variable "AWS_ACCESS_KEY_ID" {
default= "123"
description = "id"
type = string
}
variable "AWS_SECRET_ACCESS_KEY" {
default= "345"
description = "key"
type = string
}
# variable "domain_name" {
# type = string
# //default = "demo.dechengxu.me"
# description = "name"
# }