ENG-893 Implement AWS Backup Restore Validation Module#76
Open
ENG-893 Implement AWS Backup Restore Validation Module#76
Conversation
…d Step Functions ENG-893 Add restore validation sequence diagram and update documentation
mannickutd
reviewed
Sep 19, 2025
|  | ||
|
|
||
| ```text | ||
| AWS Backup Restore Testing Plan (scheduled) |
Contributor
There was a problem hiding this comment.
Not sure we want to enforce scheduled
mannickutd
reviewed
Sep 19, 2025
| AWS Backup Restore Testing Plan (scheduled) | ||
| │ (runs restore jobs) | ||
| ▼ | ||
| Restore Test Jobs (Test restore of latest/random recovery points) |
Contributor
There was a problem hiding this comment.
specified restore points
mannickutd
reviewed
Sep 19, 2025
|
|
||
| ### Why Step Functions? | ||
|
|
||
| - Orchestrates retries, parallel fan-out per restored resource |
Contributor
There was a problem hiding this comment.
Consolidates the distributed architecture into an execution platform detailing the lifecycle of the event.
Contributor
|
This is good as far as it goes, but it doesn't obviously support cross-resource validation. If the validation question I want to answer is "having restored both, does every S3 path listed in this dynamodb table actually exist in that bucket, and vice versa?", is that an S3 validation or a dynamo validation? How would we support that in this framework? |
10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces the initial implementation of automated post-restore validation capabilities for AWS Backup restore testing within the blueprint. It delivers:
modules/aws-backup-validationthat provisions:Restore Job State Changeevents (status = COMPLETED) for a configured restore testing plan.docs/restore-testing-design.mdreferencing the new flow and module.docs/diagrams/restore-validation-sequence.pumldepicting the validation workflow.This forms the foundation for blueprint consumers to define integrity checks (e.g. RDS SQL assertions, DynamoDB item sampling, S3 object/head checks) executed automatically after restore test completion, reporting status back via
PutRestoreValidationResult.Context
Restore testing previously verified only that a resource could be restored; it did not validate functional integrity. The added module and design formalise an event-driven validation pipeline so implementers can define resource-type specific checks declaratively. This aligns with the stated requirement to “test integrity of restored resources” and enable customer-defined SQL or data-level assertions. The implementation is intentionally scaffold-grade: operational hooks and IAM scoping will be refined later, but the architecture and invocation path are now runnable and extensible.
Key motivations:
Type of changes
Checklist
restore-testing-design.md, new diagram, module README)Sensitive Information Declaration
To ensure the utmost confidentiality and protect privacy, no PII/PID or other sensitive data has been added. All examples are generic (non-production identifiers, no secrets).
Additional Notes
rds-dataqueries, DynamoDB keyed checks, S3 manifest comparisons) will be added incrementally.validation_config_json); future enhancement may promote a typed Terraform object schema.docs/diagrams/restore-validation-sequence.puml.