Skip to content

bug: Unsupported RDS DB engine type: docdb #9426

@rishabhAjay

Description

@rishabhAjay

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I get the following error while trying to import a state that contains a documentDB cluster(DatabaseCluster) that was built via CDK:
image

In my case, the localstack container crashed after throwing this error out.

Expected Behavior

No response

How are you starting LocalStack?

With a docker-compose file

Steps To Reproduce

How are you starting localstack (e.g., bin/localstack command, arguments, or docker-compose.yml)

docker-compose.yml(pro version)

Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)

  • Create a docdb DatabaseCluster as a CDK application and deploy it. Sample method call is given below:
docdb.DatabaseCluster(
            self,
            "db-cluster",
            master_user=docdb.Login(username="administrator"),
            vpc=vpc,
            instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE3, ec2.InstanceSize.MEDIUM),
            backup=docdb.BackupProps(retention=Duration.days(30), preferred_window="5:00-6:00"),
            instances=1,
            db_cluster_name="db-cluster",
            kms_key=key)
  • Export the state after the creation of CFN stack is done
  • Restart the localstack container and import the state

Environment

- OS: Windows 10
- LocalStack:2.3.2

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: persistenceRetain state between LocalStack runsaws:docdbAmazon DocumentDBaws:rdsAmazon Relational Database Servicestatus: backlogTriaged but not yet being worked onstatus: staleTo be closed soon due to stalenesstype: bugBug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions