File tree Expand file tree Collapse file tree 1 file changed +78
-0
lines changed
Expand file tree Collapse file tree 1 file changed +78
-0
lines changed Original file line number Diff line number Diff line change 1+ variable "aws_region" {
2+ description = " AWS region"
3+ type = string
4+ default = " us-east-1"
5+ }
6+
7+ variable "environment" {
8+ description = " Environment name"
9+ type = string
10+ default = " production"
11+ }
12+
13+ variable "instance_type" {
14+ description = " EC2 instance type"
15+ type = string
16+ default = " t3.medium"
17+ }
18+
19+ variable "data_volume_size" {
20+ description = " Size of EBS data volume in GiB"
21+ type = number
22+ default = 100
23+ }
24+
25+ variable "ssh_key_name" {
26+ description = " Name of SSH key pair for EC2 access"
27+ type = string
28+ }
29+
30+ variable "allowed_ssh_cidr" {
31+ description = " CIDR blocks allowed for SSH access"
32+ type = list (string )
33+ default = [" 0.0.0.0/0" ]
34+ }
35+
36+ variable "allowed_cidr_blocks" {
37+ description = " CIDR blocks allowed for Grafana access"
38+ type = list (string )
39+ default = [" 0.0.0.0/0" ]
40+ }
41+
42+ variable "use_elastic_ip" {
43+ description = " Allocate Elastic IP for stable address"
44+ type = bool
45+ default = true
46+ }
47+
48+ variable "grafana_password" {
49+ description = " Grafana admin password"
50+ type = string
51+ sensitive = true
52+ }
53+
54+ variable "postgres_ai_api_key" {
55+ description = " PostgresAI API key (optional)"
56+ type = string
57+ default = " "
58+ sensitive = true
59+ }
60+
61+ variable "monitoring_instances" {
62+ description = " PostgreSQL instances to monitor"
63+ type = list (object ({
64+ name = string
65+ conn_str = string
66+ environment = string
67+ cluster = string
68+ node_name = string
69+ }))
70+ default = []
71+ }
72+
73+ variable "enable_demo_db" {
74+ description = " Enable demo database"
75+ type = bool
76+ default = false
77+ }
78+
You can’t perform that action at this time.
0 commit comments