enabled_cloudwatch_logs_exports is incompatible with PostgreSQL 10.5 export log parameters ("postgresql", "upgrade") in aws_db_instance #6814
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/rds
Issues and PRs that pertain to the rds service.
Milestone
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Actual Behavior
After enabling 'CloudWatch Logs Export' on a PostgreSQL 10.5 RDS instance created by Terraform via the AWS web console:
Terraform will attempt to remove the parameters:
postgresql
andupgrade
from the instance whenenabled_cloudwatch_logs_exports
is not present in the Terraform configuration:#enabled_cloudwatch_logs_exports = ["postgresql", "upgrade"] Disabled until Terraform supports PostgreSQL-log parameters. Currently only supports: alert, audit, error, general, listener, slowquery and trace.
That is expected, but what about if you want to keep those options enabled? They are not supported within Terraform:
I'm not sure if this should be a bug report or feature request.
Expected Behavior
postgresql
andupgrade
should be added as a supportedenabled_cloudwatch_logs_exports
parameter.Steps to Reproduce
terraform apply
References
The text was updated successfully, but these errors were encountered: