forked from mentoriaiac/iac-modulo-aws-rds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variable.tf
110 lines (93 loc) · 1.98 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
variable "aws_region" {
default = "us-east-1"
description = "Region of Amazon AWS"
}
variable "storage" {
type = number
default = 20
description = "The allocated storage"
}
variable "storage_type" {
type = string
default = "gp2"
description = "The type of the storage"
}
variable "engine" {
type = string
default = "postgres"
description = "The database engine"
}
variable "engine_version" {
default = "12.7"
type = number
description = "The engine version for database"
}
variable "instance_type" {
default = "db.t2.micro"
type = string
description = "The RDS instance class"
}
variable "db_username" {
default = "mariaquiteriaadmin"
type = string
description = "Username of the database"
}
variable "db_name" {
default = "mariaquiteria"
type = string
}
variable "port" {
default = "5432"
type = number
description = "The database port"
}
variable "identifier" {
default = "database-mariaquiteria"
type = string
description = "The name of the RDS instance"
}
variable "parameter_group_name" {
default = "default.postgres12"
type = string
description = "Name of the DB parameter group to associate"
}
variable "snapshot" {
default = "true"
type = string
description = "skip snapshot"
}
variable "default_tags" {
type = map(any)
default = {
Name : "Mentoria-IAC",
Team : "Team-Mentoria-IAC",
Application : "App-Mentoria-IAC",
Environment : "Dev",
Terraform : "Yes",
Owner : "Mentoria-IAC"
}
}
variable "parameters" {
type = list(
object({
type = string,
name = string,
description = string,
value = string,
})
)
default = []
}
variable "subnet_ids" {
type = list(string)
}
variable "proj_name" {
type = string
default = "mariaquiteria"
}
variable "vpc_id" {
type = string
}
variable "publicly_accessible_rds" {
type = bool
}