-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(dynamodb): pointInTimeRecovery for global tables (replicationRegions) #18582
Comments
Hey @phstc, thanks for opening the issue. I think this might be tricky to do in our implementation of the global Tables backing I see that the new Maybe that's a better choice? Thanks, |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
@skinny85 thank you - that's very helpful. Since it is an existing table, I'm wondering if changing to
Could that also call In the interim, we are considering a new AwsCustomResource(this, id, {
onUpdate: {
service: "DynamoDB",
action: "updateContinuousBackups",
parameters: {
TableName: this.globalTable.tableName,
PointInTimeRecoverySpecification: {
PointInTimeRecoveryEnabled: true,
},
},
region,
physicalResourceId: PhysicalResourceId.of(id),
},
policy: AwsCustomResourcePolicy.fromSdkCalls({
resources: AwsCustomResourcePolicy.ANY_RESOURCE,
}),
}); |
Yes, I agree with you on both of those points @phstc. I think the Custom Resource is a good interim solution. Would you be interested in contributing the change to call Thanks, |
Just ran into this as well as per this construct:
As noted in the issue, the Any ETA for this fix in CDK? |
This issue was for the existing Instead, the Be aware that there are additional deployment steps involved in a migration from Here are some other resources to get you started (using
|
Description
I want to enable
pointInTimeRecovery
for global tables.replicationRegions
creates tables on the given regions, but thepointInTimeRecovery
setting is not inherited from the main table definition.Use Case
I want point-in-time recovery from any global table region for additional resilience; ability to recover from any region, in case the primary region is failing.
Proposed Solution
I would like to propose that the global tables inherit
pointInTimeRecovery
from the main table or support to customize table props for global tables, for example,replicationRegionPropOverrides: Partial<TableProps>
.Other information
No response
Acknowledge
The text was updated successfully, but these errors were encountered: