@@ -25,20 +25,37 @@ See [QUICKSTART.md](QUICKSTART.md) for step-by-step guide.
2525
2626``` hcl
2727# terraform.tfvars
28- ssh_key_name = "postgres-ai-key"
29- grafana_password = "SecurePassword123!"
28+ ssh_key_name = "postgres-ai-key"
29+
30+ # Optional: Set custom Grafana password (defaults to 'demo')
31+ # grafana_password = "YourSecurePassword123!"
3032```
3133
3234### Minimal production setup
3335
3436``` hcl
37+ # terraform.tfvars
38+
39+ # REQUIRED PARAMETERS
40+ ssh_key_name = "your-key-name"
41+
42+ # AWS SETTINGS
3543aws_region = "us-east-1"
3644environment = "production"
37- grafana_password = "SecurePassword123!"
45+ instance_type = "t3.medium"
46+
47+ # STORAGE
48+ data_volume_size = 50 # GiB
3849
39- # Optional: API key for uploading reports to PostgresAI
40- # Get it from: https://console.postgres.ai → Your Org → Manage → Access Tokens
41- postgres_ai_api_key = "your-api-key-here"
50+ # SECURITY (restrict access!)
51+ allowed_ssh_cidr = ["0.0.0.0/0"] # WARNING: Allows access from anywhere
52+ allowed_cidr_blocks = ["0.0.0.0/0"] # WARNING: Allows access from anywhere
53+
54+ # OPTIONAL PARAMETERS
55+ # grafana_password = "YourSecurePassword123!" # Defaults to 'demo'
56+ # postgres_ai_api_key = "your-api-key" # For uploading reports
57+ # enable_demo_db = false # true for testing
58+ # use_elastic_ip = true # Stable IP address
4259
4360monitoring_instances = [
4461 {
@@ -57,20 +74,20 @@ monitoring_instances = [
5774# AWS
5875aws_region = "us-east-1"
5976environment = "production"
60- instance_type = "t3.large "
77+ instance_type = "t3.medium "
6178
6279# Storage
63- data_volume_size = 100
80+ data_volume_size = 50
6481
6582# Security (restrict access in production)
6683allowed_ssh_cidr = ["203.0.113.0/24"]
6784allowed_cidr_blocks = ["203.0.113.0/24"]
6885
6986# Required
70- ssh_key_name = "postgres-ai-key"
71- grafana_password = "SecurePassword123!"
87+ ssh_key_name = "ssh-key"
7288
7389# Optional
90+ grafana_password = "SecurePassword123!" # Defaults to 'demo'
7491postgres_ai_api_key = "your-api-key"
7592enable_demo_db = false
7693use_elastic_ip = true
0 commit comments