Commit 86eec09
committed
Fix: Add missing TFE_DATABASE_PASSWORDLESS_AWS_USE_INSTANCE_PROFILE for postgres passwordless
This critical fix adds the missing TFE_ prefixed environment variables that
the Go config system requires to properly configure AWS RDS IAM authentication.
Without these variables, the terraform-enterprise Go application cannot
read the passwordless configuration via envconfig, causing 502 errors.
Added:
- TFE_DATABASE_PASSWORDLESS_AWS_USE_INSTANCE_PROFILE (for Go config system)
- TFE_DATABASE_PASSWORDLESS_AWS_REGION (for Go config system)
Kept existing:
- DATABASE_AUTH_USE_AWS_IAM (for Atlas Ruby application)
- DATABASE_AUTH_AWS_DB_REGION (for Atlas Ruby application)
This matches the pattern used in redis_config.tf and ensures both
configuration systems receive the required environment variables.1 parent a69de1c commit 86eec09
1 file changed
+15
-13
lines changedLines changed: 15 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
0 commit comments