You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given an invalid cluster parameter group (AWS::RDS::DBClusterParameterGroup), in our case a Postgres v16 cluster parameter group with rds.pg_stat_ramdisk_size variable deprecated in Postgres v15, creating the cluster parameter group triggers the following internal error in CloudFormation:
Resource handler returned message: "Cannot invoke "software.amazon.rds.common.logging.RequestLogger.log(String, String)" because "this.requestLogger" is null" (RequestToken: ***, HandlerErrorCode: InternalFailure)
Interestingly, AWS::RDS::DBParameterGroup does not appear to have this issue.
I think this is the line of code that is throwing.
Expected Behavior
Creating an invalid parameter group triggers an error similar to the following, helpful error:
Resource handler returned message: "Invalid / Unmodifiable / Unsupported DB Parameter: rds.pg_stat_ramdisk_size" (RequestToken: ***, HandlerErrorCode: InvalidRequest)
Steps to Reproduce
We used AWS CDK for Typescript (aws-cdk-lib) version 2.171.1 to create a Postgres v16 cluster.
The team is aware that the recent change in DBClusterParameterGroup to fix resetting of parameters has introduced this bug where creating an invalid cluster parameter group triggers a null pointer exception in the requestLogger.
Bug
Given an invalid cluster parameter group (
AWS::RDS::DBClusterParameterGroup
), in our case a Postgres v16 cluster parameter group withrds.pg_stat_ramdisk_size
variable deprecated in Postgres v15, creating the cluster parameter group triggers the following internal error in CloudFormation:Resource handler returned message: "Cannot invoke "software.amazon.rds.common.logging.RequestLogger.log(String, String)" because "this.requestLogger" is null" (RequestToken: ***, HandlerErrorCode: InternalFailure)
Interestingly,
AWS::RDS::DBParameterGroup
does not appear to have this issue.I think this is the line of code that is throwing.
Expected Behavior
Creating an invalid parameter group triggers an error similar to the following, helpful error:
Resource handler returned message: "Invalid / Unmodifiable / Unsupported DB Parameter: rds.pg_stat_ramdisk_size" (RequestToken: ***, HandlerErrorCode: InvalidRequest)
Steps to Reproduce
We used AWS CDK for Typescript (
aws-cdk-lib
) version2.171.1
to create a Postgres v16 cluster.The template that is deployed triggers this error on creation.
The text was updated successfully, but these errors were encountered: