Skip to content

rds: Add support for MariaDB RDS Proxy #29402

@mavdi

Description

@mavdi

Describe the bug

Even though MariaDB support has been added to RDS Proxies, this is not reflected in CDK.

Expected Behavior

Given that MariaDB is supported in RDS Proxies, I'd like this to work.

https://aws.amazon.com/about-aws/whats-new/2022/07/amazon-rds-proxy-mariadb-version-10-support/

Current Behavior

Throws an error saying MariaDB support for proxies is not supported.

Error: Engine 'mariadb-10.6.16' does not support proxies
    at ProxyTarget.bind (/home/parallels/Documents/work/call4u-monorepo/infrastructure/node_modules/aws-cdk-lib/aws-rds/lib/proxy.js:1:2928)

Reproduction Steps

/ Create the RDS Proxy
    const rdsProxy = new aws_rds.DatabaseProxy(this, `${stackNamePrefix}-DatabaseProxy`, {
      proxyTarget: aws_rds.ProxyTarget.fromInstance(databaseInstance),
      secrets: [databaseSecret],
      vpc,
      securityGroups: [rdsProxySecurityGroup],
      requireTLS: false, // Optional: set to true to enforce TLS connections
    });

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.131.0 (build 92b912d)

Framework Version

No response

Node.js Version

21.6.2

OS

Mac OS

Language

TypeScript

Language Version

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-rdsRelated to Amazon Relational DatabasebugThis issue is a bug.effort/mediumMedium work item – several days of effortp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions