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 (#8691)

Co-authored-by: Sachin Panemangalore <sachinrp@amazon.com>
  • Loading branch information
2 people authored and kaustavghosh06 committed Nov 11, 2021
1 parent 4faa80c commit 498cc9a
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 498cc9a

Please sign in to comment.