aws-amplify / aws-amplify/amplify-cli

[gen2-migration] Pre-flight validation should name the specific table(s) failing the DeletionProtectionEnabled check

Open
#14,980 0 comments 0 reactions 0 assignees View on GitHub
gen2-migration
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

## Summary
Import validation checks `DeletionProtectionEnabled` on source tables, but when one table fails, the result is an opaque whole-data-stack failure with no indication of which table is non-compliant.

## Expected
A pre-flight validation step that names the specific table(s) failing the `DeletionProtectionEnabled` check, before any deploy is attempted — independent of the enable/disable logic itself.

## Type
Enhancement (usability / diagnostics)

Contributor guide

Open the contributing guide

Research direction

Start by locating the Gen 2 migration import pre-flight validation and the DeletionProtectionEnabled check. Trace how validation failures are reported before deployment, then verify that failures identify each non-compliant source table without changing the enable/disable logic.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.