-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
95 lines (80 loc) · 2.01 KB
/
variables.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
86
87
88
89
90
91
92
93
94
95
variable "project_id" {
type = string
description = "Project ID"
default = "megamindcorp-dev"
}
variable "region" {
type = string
description = "Region of the infrastructure"
default = "us-east1"
}
variable "zone" {
type = string
description = "Zone of the infrastructure"
default = "us-east1-b"
}
variable "vpc_name" {
type = string
description = "Name of the infrastructure"
default = "megacorp-vpc"
}
variable "vpc_type" {
type = string
description = "Type of the VPC"
default = "REGIONAL"
}
variable "webapp_name" {
type = string
description = "Name of the webapp"
default = "webapp"
}
variable "db_name" {
type = string
description = "Name of the database"
default = "db"
}
variable "ip_cidr_range_webapp" {
type = string
description = "List of The range of internal addresses that are owned by this subnetwork."
default = "10.0.1.0/24"
}
variable "ip_cidr_range_db" {
type = string
description = "List of The range of internal addresses that are owned by this subnetwork."
default = "10.0.2.0/24"
}
variable "dest_range" {
type = string
description = "Destination range of the route"
default = "0.0.0.0/0"
}
variable "image_name" {
type = string
description = "The image path for the instance"
default = "webapp-centos-stream-8-a4-v1-20240403203055"
}
variable "ports" {
type = list(string)
description = "The ports to open"
default = ["6969", "22"]
}
variable "machine_type" {
type = string
description = "The machine type"
default = "e2-medium"
}
variable "tier" {
type = string
description = "The tier of the database"
default = "db-g1-small"
}
variable "availability_type" {
type = string
description = "The availability type of the database"
default = "REGIONAL"
}
variable "disk_type" {
type = string
description = "The disk type"
default = "pd-balanced"
}