Summary
The auth schema synthesized for an adopted User Pool is derived from the Gen1 CloudFormation templates, not from the pool's live configuration (e.g. DescribeUserPool). Attributes added to the pool via the console/SDK after the Gen1 template was written are missing, so the generated schema drifts from the live pool. Because schema attributes on an existing pool are update-restricted, the deploy fails (and in the worst case would force pool replacement).
Error
Invalid request provided: Existing schema attributes cannot be modified or deleted.
Expected
Introspect the adopted pool's live schema attributes at migration time and pin the generated amplify/auth schema to match, so the deploy is a no-op on schema.
Note
Distinct from #14932 (that is a TypeScript-emission quoting crash for custom attributes; this is live-vs-template schema drift). Cross-referencing for context.
Type
Bug / blocker
Summary
The auth schema synthesized for an adopted User Pool is derived from the Gen1 CloudFormation templates, not from the pool's live configuration (e.g. DescribeUserPool). Attributes added to the pool via the console/SDK after the Gen1 template was written are missing, so the generated schema drifts from the live pool. Because schema attributes on an existing pool are update-restricted, the deploy fails (and in the worst case would force pool replacement).
Error
Invalid request provided: Existing schema attributes cannot be modified or deleted.Expected
Introspect the adopted pool's live schema attributes at migration time and pin the generated
amplify/authschema to match, so the deploy is a no-op on schema.Note
Distinct from #14932 (that is a TypeScript-emission quoting crash for custom attributes; this is live-vs-template schema drift). Cross-referencing for context.
Type
Bug / blocker