diff --git a/packages/amplify-category-storage/src/provider-utils/awscloudformation/service-walkthroughs/s3-walkthrough.ts b/packages/amplify-category-storage/src/provider-utils/awscloudformation/service-walkthroughs/s3-walkthrough.ts index c6788eac828..6a9a659fb3f 100644 --- a/packages/amplify-category-storage/src/provider-utils/awscloudformation/service-walkthroughs/s3-walkthrough.ts +++ b/packages/amplify-category-storage/src/provider-utils/awscloudformation/service-walkthroughs/s3-walkthrough.ts @@ -226,7 +226,7 @@ async function startAddTriggerFunctionFlow( policyID: string, existingTriggerFunction: string | undefined, ): Promise { - const enableLambdaTriggerOnS3: boolean = await prompter.confirmContinue('Do you want to add a Lambda Trigger for your S3 Bucket?'); + const enableLambdaTriggerOnS3: boolean = await prompter.yesOrNo('Do you want to add a Lambda Trigger for your S3 Bucket?'); let triggerFunction: string | undefined = undefined; if (enableLambdaTriggerOnS3) { try {