Skip to content

Commit e3e43dd

Browse files
Add AWS IAM database authentication support
- Add database_passwordless_aws_use_iam and database_passwordless_aws_region variables - Configure DATABASE_AUTH_USE_AWS_IAM and DATABASE_AUTH_AWS_DB_REGION environment variables - Enable AWS IAM passwordless authentication for TFE runtime containers
1 parent b5c3c41 commit e3e43dd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

modules/runtime_container_engine_config/variables.tf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,18 @@ variable "database_passwordless_aws_region" {
118118
description = "AWS region for IAM database authentication. Required when database_passwordless_aws_use_iam is true."
119119
}
120120

121+
variable "database_passwordless_aws_use_iam" {
122+
default = false
123+
type = bool
124+
description = "Whether or not to use AWS IAM authentication to connect to the PostgreSQL database. Defaults to false if no value is given."
125+
}
126+
127+
variable "database_passwordless_aws_region" {
128+
default = ""
129+
type = string
130+
description = "AWS region for IAM database authentication. Required when database_passwordless_aws_use_iam is true."
131+
}
132+
121133
variable "explorer_database_host" {
122134
type = string
123135
default = null

0 commit comments

Comments
 (0)