Configuration Reference¶
Terraform Variables¶
Infrastructure variables defined in variables.tf:
Variable |
Type |
Default |
Description |
|---|---|---|---|
|
string |
— |
Environment name (dev, staging, production) |
|
string |
|
Deployment mode: |
|
string |
|
VPC CIDR block |
|
string |
|
RDS instance type |
|
bool |
|
Enable Multi-AZ for RDS |
|
number |
|
Backup retention in days |
|
string |
|
ElastiCache node type |
|
string |
|
OpenSearch instance type |
|
number |
|
OpenSearch EBS volume size (GB) |
|
string |
|
EKS node instance type |
|
number |
|
Number of EKS worker nodes |
|
bool |
|
Enable CloudTrail audit logging |
|
bool |
|
Enable VPC flow logs |
Terraform Outputs to Helm Values¶
Terraform Output |
Helm Value |
Notes |
|---|---|---|
|
|
ECR base URL (or use your own registry URL) |
|
|
EFS file system ID |
|
|
Strip port from endpoint |
|
|
Strip port from endpoint |
|
|
ElastiCache primary endpoint |
|
|
Includes |
|
Ingress annotation |
ACM certificate for ALB HTTPS |
Secrets are stored in SSM Parameter Store and retrieved via AWS CLI:
aws ssm get-parameter --name "/ubtrace/<env>/db/app/password" --with-decryption
aws ssm get-parameter --name "/ubtrace/<env>/db/keycloak/password" --with-decryption
aws ssm get-parameter --name "/ubtrace/<env>/redis/auth_token" --with-decryption