fix: remove restriction that debug logging must be enabled in order to manage the proxy log group

This commit is contained in:
Bryant Biggs 2021-01-06 20:10:11 -05:00
parent fe6d354da5
commit 646b0428d4

View file

@ -75,7 +75,7 @@ resource "aws_db_proxy_target" "db_cluster" {
################################################################################
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}"
retention_in_days = var.log_group_retention_in_days