Skip to content

Commit 176b7b6

Browse files
committed
refactor(modules/rds): remove unnecessary manage_master_user_password variable
1 parent 6935844 commit 176b7b6

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

modules/rds/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ resource "aws_db_instance" "this" {
1414

1515
db_name = var.db_name
1616
username = var.username
17-
manage_master_user_password = var.manage_master_user_password
17+
manage_master_user_password = true
1818

1919
skip_final_snapshot = var.skip_final_snapshot
2020

modules/rds/variables.tf

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,6 @@ variable "username" {
4949
default = "admin_user"
5050
}
5151

52-
variable "manage_master_user_password" {
53-
description = "(Optional, Default:true) Set to true to allow RDS to manage the master user password in Secrets Manager."
54-
type = bool
55-
nullable = false
56-
default = true
57-
}
58-
5952
variable "vpc_security_group_ids" {
6053
description = "(Optional) List of VPC security groups to associate."
6154
type = list(string)

0 commit comments

Comments
 (0)