-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
46 lines (38 loc) · 984 Bytes
/
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
variable "project" {
description = "The project name"
default = "wp-ha"
}
variable "env" {
description = "The environment"
default = "dev"
}
variable "region" {
description = "AWS Region"
default = "eu-central-1"
}
variable "vpc_cidr" {
description = "CIDR block for VPC"
default = "10.200.0.0/16"
}
variable "vpc_public_subnets" {
description = "List of CIDR blocks for public subnets"
type = list(string)
default = ["10.200.48.0/24", "10.200.49.0/24", "10.200.50.0/24"]
}
variable "vpc_private_subnets" {
description = "List of CIDR blocks for private subnets"
type = list(string)
default = ["10.200.0.0/20", "10.200.16.0/20", "10.200.32.0/20"]
}
variable "db_name" {
description = "Database name"
default = "wordpress"
}
variable "db_username" {
description = "Database username"
default = "admin"
}
variable "db_password" {
description = "Database password"
default = "Test_1234"
}