-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
66 lines (55 loc) · 1.37 KB
/
variables.tf
File metadata and controls
66 lines (55 loc) · 1.37 KB
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
variable "region" {
description = "The AWS region to deploy resources in"
type = string
default = "us-east-1"
}
variable "environment" {
description = "Environment name (e.g., dev, prod)"
type = string
}
variable "vpc_cidr_block" {
description = "CIDR block for the VPC"
type = string
}
variable "public_subnets_cidr" {
description = "List of CIDR blocks for public subnets"
type = list(string)
}
variable "private_subnets_cidr" {
description = "List of CIDR blocks for private subnets"
type = list(string)
}
variable "instance_type" {
description = "EC2 instance type"
type = string
default = "t2.micro"
}
variable "key_name" {
description = "EC2 key pair name"
type = string
}
variable "db_instance_identifier" {
description = "RDS instance identifier"
type = string
}
variable "db_username" {
description = "RDS instance master username"
type = string
}
variable "db_password" {
description = "RDS instance master password"
type = string
sensitive = true
}
variable "db_allocated_storage" {
description = "RDS instance allocated storage in GB"
type = number
}
variable "cache_cluster_id" {
description = "ElastiCache cluster ID"
type = string
}
variable "cache_node_type" {
description = "ElastiCache node type"
type = string
}