-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
area: persistenceRetain state between LocalStack runsRetain state between LocalStack runsaws:docdbAmazon DocumentDBAmazon DocumentDBaws:rdsAmazon Relational Database ServiceAmazon Relational Database Servicestatus: backlogTriaged but not yet being worked onTriaged but not yet being worked onstatus: staleTo be closed soon due to stalenessTo be closed soon due to stalenesstype: bugBug reportBug report
Description
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:
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
Labels
area: persistenceRetain state between LocalStack runsRetain state between LocalStack runsaws:docdbAmazon DocumentDBAmazon DocumentDBaws:rdsAmazon Relational Database ServiceAmazon Relational Database Servicestatus: backlogTriaged but not yet being worked onTriaged but not yet being worked onstatus: staleTo be closed soon due to stalenessTo be closed soon due to stalenesstype: bugBug reportBug report