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
Optional Keycloak Identity Configuration¶
The chart can apply an optional Google Workspace identity provider and an
email-domain sign-up policy to the bundled Keycloak after install. Both are
off by default — the chart ships empty defaults so no identity policy is
imposed. When either is enabled, a keycloak-config-cli post-install /
post-upgrade Job applies the overlay through Keycloak’s Admin API (the Job is
only rendered when at least one feature is on).
keycloak:
# Google Workspace identity provider (off by default)
google:
enabled: true
clientId: "<google-oauth-client-id>"
clientSecret: "<google-oauth-client-secret>"
hostedDomain: "example.com" # restrict sign-in to one Workspace domain
displayName: "Sign in with Google"
# Alternatively, reference an existing Secret holding `client-id`
# and `client-secret` keys instead of inlining the credentials:
# existingSecret: "ubtrace-google-idp"
# Realm User Profile email-domain sign-up policy (off by default)
userProfile:
enabled: true
emailDomain: "example.com" # only this email domain may register
Leave google.enabled and userProfile.enabled at their default false
to inherit no opinionated identity policy.