File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,6 +63,13 @@ const disableCDKDeprecationWarning = () => {
6363 * Command line entry point
6464 */
6565export const run = async ( startTime : number ) : Promise < void > => {
66+ // Gen 1 CLI deprecation warning — prints to stderr to avoid interfering with JSON/stdout parsing
67+ process . stderr . write (
68+ '\n\x1b[33m⚠️ WARNING: AWS Amplify Gen 1 CLI is in maintenance mode and will reach end of life on May 1, 2027.\n' +
69+ 'During maintenance mode, only critical bug fixes and security patches will be provided.\n' +
70+ 'Migrate to Amplify Gen 2: https://docs.amplify.aws/react/start/migrate-to-gen2/\x1b[0m\n\n' ,
71+ ) ;
72+
6673 deleteOldVersion ( ) ;
6774
6875 //TODO: This is a temporary suppression for CDK deprecation warnings, which should be removed after the migration is complete
You can’t perform that action at this time.
0 commit comments