Skip to content

Commit

Permalink
(fix) [storage-1.test]init a project and add S3 bucket with user pool…
Browse files Browse the repository at this point in the history
… groups and then update S3 bucket to add trigger (aws-amplify#8691)

Co-authored-by: Sachin Panemangalore <sachinrp@amazon.com>
  • Loading branch information
sachscode and Sachin Panemangalore committed Nov 11, 2021
1 parent 1194265 commit 15512c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ async function startAddTriggerFunctionFlow(
policyID: string,
existingTriggerFunction: string | undefined,
): Promise<string | undefined> {
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 {
Expand Down

0 comments on commit 15512c2

Please sign in to comment.