mirror of
https://github.com/terraform-aws-modules/terraform-aws-rds-proxy.git
synced 2025-12-18 08:51:12 +00:00
fix: remove restriction that debug logging must be enabled in order to manage the proxy log group
This commit is contained in:
parent
fe6d354da5
commit
646b0428d4
1 changed files with 1 additions and 1 deletions
2
main.tf
2
main.tf
|
|
@ -75,7 +75,7 @@ resource "aws_db_proxy_target" "db_cluster" {
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
resource "aws_cloudwatch_log_group" "this" {
|
resource "aws_cloudwatch_log_group" "this" {
|
||||||
count = var.create_proxy && var.manage_log_group && var.debug_logging ? 1 : 0
|
count = var.create_proxy && var.manage_log_group ? 1 : 0
|
||||||
|
|
||||||
name = "/aws/rds/proxy/${var.name}"
|
name = "/aws/rds/proxy/${var.name}"
|
||||||
retention_in_days = var.log_group_retention_in_days
|
retention_in_days = var.log_group_retention_in_days
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue