This repository was archived by the owner on Nov 26, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -342,6 +342,8 @@ module "runtime_container_engine_config" {
342342 redis_ca_cert_path = " /etc/ssl/private/terraform-enterprise/redis/cacert.pem"
343343 redis_client_cert_path = " /etc/ssl/private/terraform-enterprise/redis/cert.pem"
344344 redis_client_key_path = " /etc/ssl/private/terraform-enterprise/redis/key.pem"
345+ redis_passwordless_azure_use_msi = var. redis_passwordless_azure_use_msi
346+ redis_passwordless_azure_client_id = var. redis_passwordless_azure_client_id
345347
346348
347349 trusted_proxies = local. trusted_proxies
Original file line number Diff line number Diff line change @@ -208,6 +208,12 @@ variable "sentinel_leader" {
208208 description = " The name of the Redis Sentinel leader"
209209}
210210
211+ variable "redis_enable_iam_auth" {
212+ type = bool
213+ description = " Whether to enable IAM authentication for Redis. Used for passwordless authentication."
214+ default = false
215+ }
216+
211217# Postgres
212218# --------
213219variable "db_name" {
@@ -222,6 +228,12 @@ variable "db_username" {
222228 description = " PostgreSQL instance username. No special characters."
223229}
224230
231+ variable "db_iam_username" {
232+ default = null
233+ type = string
234+ description = " PostgreSQL IAM username for TFE connection when IAM auth is enabled. If null, uses db_username. No special characters."
235+ }
236+
225237variable "db_backup_retention" {
226238 type = number
227239 description = " The days to retain backups for. Must be between 0 and 35"
@@ -902,15 +914,3 @@ variable "db_iam_username" {
902914 default = null
903915 description = " The IAM username for database authentication. Required when postgres_enable_iam_auth is true."
904916}
905-
906- variable "redis_passwordless_azure_use_msi" {
907- description = " Use Azure Managed Service Identity for Redis passwordless authentication"
908- type = bool
909- default = false
910- }
911-
912- variable "redis_passwordless_azure_client_id" {
913- description = " Azure client ID for Redis passwordless authentication"
914- type = string
915- default = null
916- }
You can’t perform that action at this time.
0 commit comments