File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ resource "aws_db_proxy" "main" {
9696 engine_family = var. engine_family
9797 idle_client_timeout = var. idle_client_timeout
9898 require_tls = var. require_tls
99- role_arn = aws_iam_role. example . arn
99+ role_arn = aws_iam_role. role_rds . 0 . arn
100100 vpc_security_group_ids = var. vpc_security_group_ids
101101 vpc_subnet_ids = var. vpc_subnet_ids
102102
@@ -106,7 +106,7 @@ resource "aws_db_proxy" "main" {
106106 auth_scheme = lookup (auth. value , " auth_scheme" , " SECRETS" )
107107 description = lookup (auth. value , " description" , null )
108108 iam_auth = lookup (auth. value , " iam_auth" , " DISABLED" )
109- secret_arn = lookup (auth . value , " secret_arn " , null )
109+ secret_arn = aws_secretsmanager_secret . main . 0 . arn
110110 username = lookup (auth. value , " username" , null )
111111 }
112112 }
You can’t perform that action at this time.
0 commit comments