Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Commit d261b43

Browse files
Add missing IAM authentication variables to root module
- Add redis_enable_iam_auth variable for Redis IAM authentication control - Add db_iam_username variable for PostgreSQL IAM username specification - Required for PostgreSQL passwordless authentication tests
1 parent b0f4325 commit d261b43

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

variables.tf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -889,3 +889,16 @@ variable "extern_vault_token_renew" {
889889
type = number
890890
description = "(Optional if var.extern_vault_enable = true) How often (in seconds) to renew the Vault token."
891891
}
892+
893+
# IAM Authentication variables
894+
variable "redis_enable_iam_auth" {
895+
type = bool
896+
default = false
897+
description = "Whether to enable IAM authentication for Redis. Used for passwordless authentication."
898+
}
899+
900+
variable "db_iam_username" {
901+
type = string
902+
default = null
903+
description = "The IAM username for database authentication. Required when postgres_enable_iam_auth is true."
904+
}

0 commit comments

Comments
 (0)