forked from Nova-reward/Nova-Rewards
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
38 lines (32 loc) · 866 Bytes
/
Copy pathvariables.tf
File metadata and controls
38 lines (32 loc) · 866 Bytes
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
variable "aws_region" {
description = "AWS region"
type = string
default = "us-east-1"
}
variable "vpc_id" {
description = "VPC ID where RDS and EC2 reside"
type = string
}
variable "private_subnet_ids" {
description = "List of private subnet IDs for the RDS subnet group"
type = list(string)
}
variable "ec2_security_group_id" {
description = "Security group ID of the EC2 instances running the backend"
type = string
}
variable "db_name" {
description = "Initial database name"
type = string
default = "nova_rewards"
}
variable "db_master_username" {
description = "RDS master username"
type = string
default = "nova_master"
}
variable "environment" {
description = "Deployment environment (e.g. production, staging)"
type = string
default = "production"
}